[clang] [llvm] [InstCombine] Generalizing icmp eq/ne X, 0/1 to trunc X to i1 IIF X in range (0,2] (PR #184182)

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 11 09:57:36 PDT 2026


andjo403 wrote:

@nikic yes https://github.com/llvm/llvm-project/pull/230363 and https://github.com/llvm/llvm-project/issues/219235 is fixed byt this commit I can add the test or shall the the two solutions be merged and I only remove the folds when this is ready as it is unkown when I have managed to fix all regressions

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


More information about the llvm-commits mailing list