[llvm] [CodeGenPrepare] Transform `shl X, cttz(Y)` to `mul (Y & -Y), X` if cttz is unsupported (PR #85066)

Wang Pengcheng via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 20:19:03 PDT 2024


https://github.com/wangpc-pp commented:

I agree this should be done in DAGCombiner.

https://github.com/llvm/llvm-project/pull/85066


More information about the llvm-commits mailing list