Issue 176783
Summary [DAG] Add DAGCombiner::visitCLMUL and basic folds
Labels good first issue, llvm:SelectionDAG
Assignees
Reporter RKSimon
    Add DAGCombiner::visitCLMUL (shared by ISD::CMUL/CMULH/CMULR nodes):

- [ ] Add constant fold handling
- [ ] Canonicalize constants to the RHS
- [ ] If RHS operand is zero, then return to zero.

Checkout out other DAGCombiner::visit* methods to get an idea of the typical style.

Noticed while wrangling CLMUL expansion to make better use of PCLMULQDQ on x86.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to