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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 6 07:20:03 PST 2025


https://github.com/dtcxzyw approved this pull request.

LGTM. Thanks.

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


More information about the llvm-commits mailing list