[llvm] [LV] Accept swapped operands in early-exit condition compare (PR #199989)
Madhur Amilkanthwar via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 14 23:01:39 PDT 2026
================
@@ -54,6 +54,31 @@ exit:
ret void
}
+;; Exit-condition load on the RHS of the icmp must still be accepted.
+define void @swapped_cmp_operands(ptr noalias %array, ptr %pred) {
----------------
madhur13490 wrote:
Done, thanks!
https://github.com/llvm/llvm-project/pull/199989
More information about the llvm-commits
mailing list