[llvm] [InstCombine] isKnownNonNegative should recognize `b - a` after `a <= b` (PR #145105)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 21 08:34:44 PDT 2025


https://github.com/nikic commented:

This should probably be directly in computeKnownBits() rather than isKnownNonNegative()?

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


More information about the llvm-commits mailing list