[llvm] [InstCombine] Recognize non-negative subtraction patterns (PR #182597)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 23:11:57 PST 2026


user1342234 wrote:

I removed canonicalization for `select` to `smin` and will put it in a seperate PR. The only logic left is a simple non-negative simplifcation with `sub` in `ValueTracking.cpp`.

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


More information about the llvm-commits mailing list