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

Tirthankar Mazumder via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 10:49:15 PST 2025


wermos wrote:

I haven't handled the nuw + nsw case yet, I'll do that later because I am traveling right now.

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


More information about the llvm-commits mailing list