[llvm] [VPlan] Remove original loop if dead after vectorization. (PR #155497)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 27 13:13:17 PDT 2025


================
@@ -807,7 +869,7 @@ define void @test_conditional_interleave_group (ptr noalias %src.1, ptr noalias
 ; DEFAULT-NEXT:    [[INDEX_NEXT]] = add nuw i64 [[INDEX]], 8
 ; DEFAULT-NEXT:    [[VEC_IND_NEXT]] = add <8 x i64> [[VEC_IND]], splat (i64 8)
 ; DEFAULT-NEXT:    [[TMP80:%.*]] = icmp eq i64 [[INDEX_NEXT]], [[N_VEC]]
-; DEFAULT-NEXT:    br i1 [[TMP80]], label %[[MIDDLE_BLOCK:.*]], label %[[VECTOR_BODY]], !llvm.loop [[LOOP25:![0-9]+]]
+; DEFAULT-NEXT:    br i1 [[TMP80]], label %[[MIDDLE_BLOCK:.*]], label %[[VECTOR_BODY]], !llvm.loop [[LOOP24:![0-9]+]]
----------------
fhahn wrote:

I think those changes should be gone now after updating to latest main

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


More information about the llvm-commits mailing list