@@ -131,7 +131,7 @@ define void @reduction_intermediate_store(ptr %a, i64 %n, i32 %start, ptr %addr)
131131; IF-EVL-INLOOP-NEXT:    [[TMP24:%.*]] = icmp eq i64 [[INDEX_NEXT]], [[N_VEC]] 
132132; IF-EVL-INLOOP-NEXT:    br i1 [[TMP24]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP3:![0-9]+]] 
133133; IF-EVL-INLOOP:       middle.block: 
134- ; IF-EVL-INLOOP-NEXT:    store i32 [[TMP22]], ptr [[ADDR]], align 4, !alias.scope [[META6:![0-9]+]], !noalias [[META0]]  
134+ ; IF-EVL-INLOOP-NEXT:    store i32 [[TMP22]], ptr [[ADDR]], align 4 
135135; IF-EVL-INLOOP-NEXT:    br i1 true, label [[FOR_END:%.*]], label [[SCALAR_PH]] 
136136; IF-EVL-INLOOP:       scalar.ph: 
137137; IF-EVL-INLOOP-NEXT:    [[BC_RESUME_VAL:%.*]] = phi i64 [ [[N_VEC]], [[MIDDLE_BLOCK]] ], [ 0, [[ENTRY:%.*]] ], [ 0, [[VECTOR_MEMCHECK]] ] 
@@ -146,7 +146,7 @@ define void @reduction_intermediate_store(ptr %a, i64 %n, i32 %start, ptr %addr)
146146; IF-EVL-INLOOP-NEXT:    store i32 [[ADD]], ptr [[ADDR]], align 4 
147147; IF-EVL-INLOOP-NEXT:    [[IV_NEXT]] = add nuw nsw i64 [[IV]], 1 
148148; IF-EVL-INLOOP-NEXT:    [[EXITCOND_NOT:%.*]] = icmp eq i64 [[IV_NEXT]], [[N]] 
149- ; IF-EVL-INLOOP-NEXT:    br i1 [[EXITCOND_NOT]], label [[FOR_END]], label [[FOR_BODY]], !llvm.loop [[LOOP8 :![0-9]+]] 
149+ ; IF-EVL-INLOOP-NEXT:    br i1 [[EXITCOND_NOT]], label [[FOR_END]], label [[FOR_BODY]], !llvm.loop [[LOOP6 :![0-9]+]] 
150150; IF-EVL-INLOOP:       for.end: 
151151; IF-EVL-INLOOP-NEXT:    ret void 
152152; 
@@ -187,7 +187,7 @@ define void @reduction_intermediate_store(ptr %a, i64 %n, i32 %start, ptr %addr)
187187; NO-VP-OUTLOOP-NEXT:    br i1 [[TMP13]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP3:![0-9]+]] 
188188; NO-VP-OUTLOOP:       middle.block: 
189189; NO-VP-OUTLOOP-NEXT:    [[TMP14:%.*]] = call i32 @llvm.vector.reduce.add.nxv4i32(<vscale x 4 x i32> [[TMP12]]) 
190- ; NO-VP-OUTLOOP-NEXT:    store i32 [[TMP14]], ptr [[ADDR]], align 4, !alias.scope [[META6:![0-9]+]], !noalias [[META0]]  
190+ ; NO-VP-OUTLOOP-NEXT:    store i32 [[TMP14]], ptr [[ADDR]], align 4 
191191; NO-VP-OUTLOOP-NEXT:    [[CMP_N:%.*]] = icmp eq i64 [[N]], [[N_VEC]] 
192192; NO-VP-OUTLOOP-NEXT:    br i1 [[CMP_N]], label [[FOR_END:%.*]], label [[SCALAR_PH]] 
193193; NO-VP-OUTLOOP:       scalar.ph: 
@@ -203,7 +203,7 @@ define void @reduction_intermediate_store(ptr %a, i64 %n, i32 %start, ptr %addr)
203203; NO-VP-OUTLOOP-NEXT:    store i32 [[ADD]], ptr [[ADDR]], align 4 
204204; NO-VP-OUTLOOP-NEXT:    [[IV_NEXT]] = add nuw nsw i64 [[IV]], 1 
205205; NO-VP-OUTLOOP-NEXT:    [[EXITCOND_NOT:%.*]] = icmp eq i64 [[IV_NEXT]], [[N]] 
206- ; NO-VP-OUTLOOP-NEXT:    br i1 [[EXITCOND_NOT]], label [[FOR_END]], label [[FOR_BODY]], !llvm.loop [[LOOP8 :![0-9]+]] 
206+ ; NO-VP-OUTLOOP-NEXT:    br i1 [[EXITCOND_NOT]], label [[FOR_END]], label [[FOR_BODY]], !llvm.loop [[LOOP6 :![0-9]+]] 
207207; NO-VP-OUTLOOP:       for.end: 
208208; NO-VP-OUTLOOP-NEXT:    ret void 
209209; 
@@ -243,7 +243,7 @@ define void @reduction_intermediate_store(ptr %a, i64 %n, i32 %start, ptr %addr)
243243; NO-VP-INLOOP-NEXT:    [[TMP13:%.*]] = icmp eq i64 [[INDEX_NEXT]], [[N_VEC]] 
244244; NO-VP-INLOOP-NEXT:    br i1 [[TMP13]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP3:![0-9]+]] 
245245; NO-VP-INLOOP:       middle.block: 
246- ; NO-VP-INLOOP-NEXT:    store i32 [[TMP12]], ptr [[ADDR]], align 4, !alias.scope [[META6:![0-9]+]], !noalias [[META0]]  
246+ ; NO-VP-INLOOP-NEXT:    store i32 [[TMP12]], ptr [[ADDR]], align 4 
247247; NO-VP-INLOOP-NEXT:    [[CMP_N:%.*]] = icmp eq i64 [[N]], [[N_VEC]] 
248248; NO-VP-INLOOP-NEXT:    br i1 [[CMP_N]], label [[FOR_END:%.*]], label [[SCALAR_PH]] 
249249; NO-VP-INLOOP:       scalar.ph: 
@@ -259,7 +259,7 @@ define void @reduction_intermediate_store(ptr %a, i64 %n, i32 %start, ptr %addr)
259259; NO-VP-INLOOP-NEXT:    store i32 [[ADD]], ptr [[ADDR]], align 4 
260260; NO-VP-INLOOP-NEXT:    [[IV_NEXT]] = add nuw nsw i64 [[IV]], 1 
261261; NO-VP-INLOOP-NEXT:    [[EXITCOND_NOT:%.*]] = icmp eq i64 [[IV_NEXT]], [[N]] 
262- ; NO-VP-INLOOP-NEXT:    br i1 [[EXITCOND_NOT]], label [[FOR_END]], label [[FOR_BODY]], !llvm.loop [[LOOP8 :![0-9]+]] 
262+ ; NO-VP-INLOOP-NEXT:    br i1 [[EXITCOND_NOT]], label [[FOR_END]], label [[FOR_BODY]], !llvm.loop [[LOOP6 :![0-9]+]] 
263263; NO-VP-INLOOP:       for.end: 
264264; NO-VP-INLOOP-NEXT:    ret void 
265265; 
@@ -300,27 +300,21 @@ for.end:
300300; IF-EVL-INLOOP: [[LOOP3]] = distinct !{[[LOOP3]], [[META4:![0-9]+]], [[META5:![0-9]+]]} 
301301; IF-EVL-INLOOP: [[META4]] = !{!"llvm.loop.isvectorized", i32 1} 
302302; IF-EVL-INLOOP: [[META5]] = !{!"llvm.loop.unroll.runtime.disable"} 
303- ; IF-EVL-INLOOP: [[META6]] = !{[[META7:![0-9]+]]} 
304- ; IF-EVL-INLOOP: [[META7]] = distinct !{[[META7]], [[META2]]} 
305- ; IF-EVL-INLOOP: [[LOOP8]] = distinct !{[[LOOP8]], [[META4]]} 
303+ ; IF-EVL-INLOOP: [[LOOP6]] = distinct !{[[LOOP6]], [[META4]]} 
306304;. 
307305; NO-VP-OUTLOOP: [[META0]] = !{[[META1:![0-9]+]]} 
308306; NO-VP-OUTLOOP: [[META1]] = distinct !{[[META1]], [[META2:![0-9]+]]} 
309307; NO-VP-OUTLOOP: [[META2]] = distinct !{[[META2]], !"LVerDomain"} 
310308; NO-VP-OUTLOOP: [[LOOP3]] = distinct !{[[LOOP3]], [[META4:![0-9]+]], [[META5:![0-9]+]]} 
311309; NO-VP-OUTLOOP: [[META4]] = !{!"llvm.loop.isvectorized", i32 1} 
312310; NO-VP-OUTLOOP: [[META5]] = !{!"llvm.loop.unroll.runtime.disable"} 
313- ; NO-VP-OUTLOOP: [[META6]] = !{[[META7:![0-9]+]]} 
314- ; NO-VP-OUTLOOP: [[META7]] = distinct !{[[META7]], [[META2]]} 
315- ; NO-VP-OUTLOOP: [[LOOP8]] = distinct !{[[LOOP8]], [[META4]]} 
311+ ; NO-VP-OUTLOOP: [[LOOP6]] = distinct !{[[LOOP6]], [[META4]]} 
316312;. 
317313; NO-VP-INLOOP: [[META0]] = !{[[META1:![0-9]+]]} 
318314; NO-VP-INLOOP: [[META1]] = distinct !{[[META1]], [[META2:![0-9]+]]} 
319315; NO-VP-INLOOP: [[META2]] = distinct !{[[META2]], !"LVerDomain"} 
320316; NO-VP-INLOOP: [[LOOP3]] = distinct !{[[LOOP3]], [[META4:![0-9]+]], [[META5:![0-9]+]]} 
321317; NO-VP-INLOOP: [[META4]] = !{!"llvm.loop.isvectorized", i32 1} 
322318; NO-VP-INLOOP: [[META5]] = !{!"llvm.loop.unroll.runtime.disable"} 
323- ; NO-VP-INLOOP: [[META6]] = !{[[META7:![0-9]+]]} 
324- ; NO-VP-INLOOP: [[META7]] = distinct !{[[META7]], [[META2]]} 
325- ; NO-VP-INLOOP: [[LOOP8]] = distinct !{[[LOOP8]], [[META4]]} 
319+ ; NO-VP-INLOOP: [[LOOP6]] = distinct !{[[LOOP6]], [[META4]]} 
326320;. 
0 commit comments