@@ -45,9 +45,8 @@ define void @test1(ptr %dst, {i64, i64} %sv) {
4545; FORCED-NEXT: [[TMP3:%.*]] = icmp eq i32 [[INDEX_NEXT]], 1000
4646; FORCED-NEXT: br i1 [[TMP3]], label %[[MIDDLE_BLOCK:.*]], label %[[VECTOR_BODY]], !llvm.loop [[LOOP0:![0-9]+]]
4747; FORCED: [[MIDDLE_BLOCK]]:
48- ; FORCED-NEXT: br label %[[EXIT:.*]]
49- ; FORCED: [[EXIT]]:
50- ; FORCED-NEXT: ret void
48+ ; FORCED-NEXT: br [[EXIT:label %.*]]
49+ ; FORCED: [[SCALAR_PH:.*:]]
5150;
5251entry:
5352 br label %loop.body
@@ -92,19 +91,18 @@ define void @test_getVectorCallCost(ptr %dst, {float, float} %sv) {
9291; FORCED-NEXT: [[TMP4:%.*]] = extractvalue { float, float } [[SV]], 1
9392; FORCED-NEXT: [[BROADCAST_SPLATINSERT1:%.*]] = insertelement <2 x float> poison, float [[TMP4]], i64 0
9493; FORCED-NEXT: [[BROADCAST_SPLAT2:%.*]] = shufflevector <2 x float> [[BROADCAST_SPLATINSERT1]], <2 x float> poison, <2 x i32> zeroinitializer
95- ; FORCED-NEXT: [[TMP2:%.*]] = call <2 x float> @llvm.pow.v2f32(<2 x float> [[BROADCAST_SPLAT]], <2 x float> [[BROADCAST_SPLAT2]])
9694; FORCED-NEXT: br label %[[VECTOR_BODY:.*]]
9795; FORCED: [[VECTOR_BODY]]:
9896; FORCED-NEXT: [[INDEX:%.*]] = phi i32 [ 0, %[[VECTOR_PH]] ], [ [[INDEX_NEXT:%.*]], %[[VECTOR_BODY]] ]
9997; FORCED-NEXT: [[TMP1:%.*]] = getelementptr float, ptr [[DST]], i32 [[INDEX]]
98+ ; FORCED-NEXT: [[TMP2:%.*]] = call <2 x float> @llvm.pow.v2f32(<2 x float> [[BROADCAST_SPLAT]], <2 x float> [[BROADCAST_SPLAT2]])
10099; FORCED-NEXT: store <2 x float> [[TMP2]], ptr [[TMP1]], align 4
101100; FORCED-NEXT: [[INDEX_NEXT]] = add nuw i32 [[INDEX]], 2
102101; FORCED-NEXT: [[TMP3:%.*]] = icmp eq i32 [[INDEX_NEXT]], 1000
103- ; FORCED-NEXT: br i1 [[TMP3]], label %[[MIDDLE_BLOCK:.*]], label %[[VECTOR_BODY]], !llvm.loop [[LOOP3 :![0-9]+]]
102+ ; FORCED-NEXT: br i1 [[TMP3]], label %[[MIDDLE_BLOCK:.*]], label %[[VECTOR_BODY]], !llvm.loop [[LOOP4 :![0-9]+]]
104103; FORCED: [[MIDDLE_BLOCK]]:
105- ; FORCED-NEXT: br label %[[EXIT:.*]]
106- ; FORCED: [[EXIT]]:
107- ; FORCED-NEXT: ret void
104+ ; FORCED-NEXT: br [[EXIT:label %.*]]
105+ ; FORCED: [[SCALAR_PH:.*:]]
108106;
109107entry:
110108 br label %loop.body
0 commit comments