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

Acthinks Yang via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 8 20:20:16 PDT 2025


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

The last three test cases are to test  icmp's operands commuted.

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


More information about the llvm-commits mailing list