[llvm] [AArch64] Extend condition optimizer to support unsigned comparisons (PR #144380)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 23 16:49:47 PDT 2025


================
@@ -845,6 +845,668 @@ return:                                           ; preds = %if.end, %land.lhs.t
   ret i32 %retval.0
 }
 
+; (a > 10 && b == c) || (a >= 10 && b == d)
----------------
AZero13 wrote:

Also I tried to make simpler tests but if I do not do this they fold into conditional comparisons so I have to do this.

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


More information about the llvm-commits mailing list