[llvm] [InstCombine] Missed optimization: Fold (sext(a) & sext(c1)) == c2 to (a & c1) == c2 (PR #112646)

Lee Wei via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 11:10:16 PDT 2024


leewei05 wrote:

> To expand on how to make it generic, see: https://alive2.llvm.org/ce/z/RWYisS

I still cannot understand how to make my implementation more generic from your Alive2 example. Can you shed some light on this? Thank you!



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


More information about the llvm-commits mailing list