[llvm] Fold `icmp samesign u{gt/ge/lt/le} (X +nsw C2), C` -> `icmp s{gt/ge/lt/le} X, (C - C2)` (PR #169960)

Tirthankar Mazumder via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 28 12:59:47 PST 2025


wermos wrote:

I'm not sure if I need to add more tests or not.

Ping @dtcxzyw for enabling CI and code review

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


More information about the llvm-commits mailing list