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

Andreas Jonson via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 30 11:43:16 PST 2025


andjo403 wrote:

you need to run update_test_check.py on that file also but it show a test that you are missing where the add is "add nuw nsw" so the same comment as in https://github.com/llvm/llvm-project/pull/134556#discussion_r2030238284 

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


More information about the llvm-commits mailing list