[llvm] [InstCombine] Fold zext(icmp ne X, C) to X - C when X is in (C, C+1) (PR #208914)

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 13 02:33:07 PDT 2026


https://github.com/andjo403 commented:

I do not know if this shall be in InstCombine or in CVP see eg. https://github.com/llvm/llvm-project/pull/83829 that partly of overlap with this fold

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


More information about the llvm-commits mailing list