[llvm] [InstCombine] Fold comparisons of llvm.usub.sat result with its LHS (PR #214108)
Haram Jeong via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 22:19:06 PDT 2026
haramj wrote:
@andjo403 Thanks for the review! I updated the fold to handle ICMP_NE and ICMP_UGT, generalized the RHS check using isKnownNonZero(), simplified the matcher, renamed the tests to include usub_sat, applied clang-format, and split the changes into a pre-commit test commit followed by the implementation commit.
https://github.com/llvm/llvm-project/pull/214108
More information about the llvm-commits
mailing list