[llvm] [InstCombine] Fold `icmp samesign u{gt/ge/lt/le} (X +nsw C2), C` -> `icmp s{gt/ge/lt/le} X, (C - C2)` (PR #169960)
Andreas Jonson via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 30 04:02:32 PST 2025
andjo403 wrote:
sounds like a fault in your transform as the example that you give do not have samesign on the icmp so I do not think that it shall be affected by your transform
https://github.com/llvm/llvm-project/pull/169960
More information about the llvm-commits
mailing list