[llvm] [VPlan] Simplify Plan's entry in removeBranchOnConst. (PR #154510)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 15 01:23:17 PDT 2025


================
@@ -145,7 +141,7 @@ for.body:
   %arrayidx = getelementptr inbounds i8, ptr %A, i64 %iv
   store i8 1, ptr %arrayidx, align 1
   %iv.next = add nuw nsw i64 %iv, 1
-  %exitcond = icmp ne i64 %iv.next, %n
+  %exitcond = icmp ne i64 %iv.next, 1024
----------------
david-arm wrote:

Why has this changed? I thought @hassnaaHamdi explicitly wanted to make this a variable in https://github.com/llvm/llvm-project/pull/157512. I think you can revert the change to this file.

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


More information about the llvm-commits mailing list