[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:18 PDT 2025


================
@@ -40,14 +40,14 @@ define void @always_vectorize(ptr %p, i32 %x) {
 ; DEFAULT-NEXT:    store i32 [[ADD]], ptr [[ARRAYIDX]], align 4
 ; DEFAULT-NEXT:    [[INDVARS_IV_NEXT]] = add nuw nsw i64 [[INDVARS_IV]], 1
 ; DEFAULT-NEXT:    [[EXITCOND_NOT:%.*]] = icmp eq i64 [[INDVARS_IV_NEXT]], 4
-; DEFAULT-NEXT:    br i1 [[EXITCOND_NOT]], label %[[FOR_COND_CLEANUP]], label %[[FOR_BODY]], !llvm.loop [[LOOP0:![0-9]+]]
+; DEFAULT-NEXT:    br i1 [[EXITCOND_NOT]], label %[[FOR_COND_CLEANUP]], label %[[FOR_BODY]]
----------------
david-arm wrote:

Scalar loop metadata dropped.

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


More information about the llvm-commits mailing list