[llvm] [InstCombine] Fold trunc nuw X to i1 -> true IFF X != 0 (PR #119131)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 8 12:27:00 PST 2024


https://github.com/nikic commented:

This also holds for trunc nsw: https://alive2.llvm.org/ce/z/5oGGAj

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


More information about the llvm-commits mailing list