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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 21 06:13:23 PDT 2025


================
@@ -0,0 +1,53 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
----------------
dtcxzyw wrote:

Can you add some negative tests?


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


More information about the llvm-commits mailing list