[llvm] [InstCombine] Fold mul (lshr exact (X, N)), 2^N + 1 -> add (X , lshr exact (X, N)) (PR #95042)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 08:35:27 PDT 2024


https://github.com/nikic commented:

The code doesn't match the proofs (the proofs have freeze instructions, the code does not).

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


More information about the llvm-commits mailing list