| Issue |
181831
|
| Summary |
[DAG] visitCLMUL - missing basic folds by 1 and pow2
|
| Labels |
good first issue,
llvm:SelectionDAG
|
| Assignees |
|
| Reporter |
RKSimon
|
As demonstrated in #181820, we're missing basic folds for:
```
// fold (clmul x, 1) -> 1
// fold (clmul x, c_pow2) -> (shl x, log2base(c_pow2))
```
These only get folded during scalar expansion (custom lowering to pclmul never has the opportunity)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs