[llvm] [InstCombine] fold icmp with add/sub instructions having the same operands (PR #143241)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 8 19:02:47 PDT 2025


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

Please add a test with icmp's operands commuted.


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


More information about the llvm-commits mailing list