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

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 08:55:46 PDT 2024


goldsteinn wrote:

> Okay so if the IR just repeats I guess I can remove one use but what if there's frozen involved @goldsteinn
> 
> Then it should be one use no?

Im not sure what you are asking.

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


More information about the llvm-commits mailing list