[llvm] [InstCombine] Allow overflowing selects to work on commutative arguments (PR #90812)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun May 5 19:49:40 PDT 2024


================
@@ -13,6 +13,18 @@ define i32 @uadd(i32 %x, i32 %y) {
   ret i32 %s
 }
 
+define i32 @uadd_cumm(i32 %x, i32 %y) {
----------------
topperc wrote:

Is `cumm` here supposed to be short for `commutative`? If so it should be `comm`

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


More information about the llvm-commits mailing list