[llvm] [InstCombine] Added optimisation for trunc (Pow2 >> x) to i1 (PR #157030)

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 7 14:41:37 PDT 2025


andjo403 wrote:

the folds also seems to hold for ashr see https://alive2.llvm.org/ce/z/z97z3U

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


More information about the llvm-commits mailing list