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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 13 05:56:57 PDT 2024


nikic wrote:

Does this need to happen in CGP for some reason, or would DAGCombine also work?

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


More information about the llvm-commits mailing list