Skip to content

Commit f05ebee

Browse files
committed
Update tests after rebasing on fhahn's changes
1 parent a695124 commit f05ebee

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product-neon.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ define i32 @dotp_unrolled(i32 %num_out, i64 %num_in, ptr %a, ptr %b) {
953953
; CHECK-REGS-NEXT: LV(REG): Found max usage: 2 item
954954
; CHECK-REGS-NEXT: LV(REG): RegisterClass: Generic::ScalarRC, 9 registers
955955
; CHECK-REGS-NEXT: LV(REG): RegisterClass: Generic::VectorRC, 24 registers
956-
; CHECK-REGS-NEXT: LV(REG): Found invariant usage: 1 item
956+
; CHECK-REGS-NEXT: LV(REG): Found invariant usage: 0 item
957957
entry:
958958
br label %for.body
959959

llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-dot-product.ll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3423,12 +3423,12 @@ define dso_local void @not_dotp_high_register_pressure(ptr %a, ptr %b, ptr %sum,
34233423
; CHECK-MAXBW-NEXT: br i1 [[CMP_N]], label [[FOR_COND_FOR_COND_CLEANUP_CRIT_EDGE:%.*]], label [[SCALAR_PH]]
34243424
; CHECK-MAXBW: scalar.ph:
34253425
;
3426-
; CHECK-REGS-LABEL: LV: Checking a loop in 'dotp_high_register_pressure' from <stdin>
3426+
; CHECK-REGS-LABEL: LV: Checking a loop in 'not_dotp_high_register_pressure' from <stdin>
34273427
; CHECK-REGS: LV(REG): VF = 16
34283428
; CHECK-REGS-NEXT: LV(REG): Found max usage: 2 item
34293429
; CHECK-REGS-NEXT: LV(REG): RegisterClass: Generic::ScalarRC, 3 registers
3430-
; CHECK-REGS-NEXT: LV(REG): RegisterClass: Generic::VectorRC, 24 registers
3431-
; CHECK-REGS-NEXT: LV(REG): Found invariant usage: 1 item
3430+
; CHECK-REGS-NEXT: LV(REG): RegisterClass: Generic::VectorRC, 40 registers
3431+
; CHECK-REGS-NEXT: LV(REG): Found invariant usage: 2 item
34323432
entry:
34333433
%cmp100 = icmp sgt i32 %n, 0
34343434
br i1 %cmp100, label %for.body.lr.ph, label %for.cond.cleanup

llvm/test/Transforms/LoopVectorize/X86/pr47437.ll

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,16 @@ define void @test_muladd(ptr noalias nocapture %d1, ptr noalias nocapture readon
212212
; AVX1-NEXT: [[TMP43:%.*]] = sext <4 x i16> [[STRIDED_VEC22]] to <4 x i32>
213213
; AVX1-NEXT: [[TMP46:%.*]] = mul nsw <4 x i32> [[TMP42]], [[TMP38]]
214214
; AVX1-NEXT: [[TMP47:%.*]] = mul nsw <4 x i32> [[TMP43]], [[TMP39]]
215-
; AVX1-NEXT: [[TMP48:%.*]] = add nsw <4 x i32> [[TMP46]], [[TMP44]]
216-
; AVX1-NEXT: [[TMP49:%.*]] = add nsw <4 x i32> [[TMP47]], [[TMP45]]
217-
; AVX1-NEXT: [[TMP52:%.*]] = getelementptr inbounds i32, ptr [[D1:%.*]], i64 [[INDEX]]
218-
; AVX1-NEXT: [[TMP56:%.*]] = getelementptr inbounds i32, ptr [[TMP52]], i32 0
219-
; AVX1-NEXT: [[TMP57:%.*]] = getelementptr inbounds i32, ptr [[TMP52]], i32 4
220-
; AVX1-NEXT: store <4 x i32> [[TMP48]], ptr [[TMP56]], align 4
221-
; AVX1-NEXT: store <4 x i32> [[TMP49]], ptr [[TMP57]], align 4
215+
; AVX1-NEXT: [[TMP19:%.*]] = add nsw <4 x i32> [[TMP46]], [[TMP44]]
216+
; AVX1-NEXT: [[TMP20:%.*]] = add nsw <4 x i32> [[TMP47]], [[TMP45]]
217+
; AVX1-NEXT: [[TMP21:%.*]] = getelementptr inbounds i32, ptr [[D1:%.*]], i64 [[INDEX]]
218+
; AVX1-NEXT: [[TMP25:%.*]] = getelementptr inbounds i32, ptr [[TMP21]], i32 0
219+
; AVX1-NEXT: [[TMP26:%.*]] = getelementptr inbounds i32, ptr [[TMP21]], i32 4
220+
; AVX1-NEXT: store <4 x i32> [[TMP19]], ptr [[TMP25]], align 4
221+
; AVX1-NEXT: store <4 x i32> [[TMP20]], ptr [[TMP26]], align 4
222222
; AVX1-NEXT: [[INDEX_NEXT]] = add nuw i64 [[INDEX]], 8
223-
; AVX1-NEXT: [[TMP60:%.*]] = icmp eq i64 [[INDEX_NEXT]], [[N_VEC]]
224-
; AVX1-NEXT: br i1 [[TMP60]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP0:![0-9]+]]
223+
; AVX1-NEXT: [[TMP24:%.*]] = icmp eq i64 [[INDEX_NEXT]], [[N_VEC]]
224+
; AVX1-NEXT: br i1 [[TMP24]], label [[MIDDLE_BLOCK:%.*]], label [[VECTOR_BODY]], !llvm.loop [[LOOP0:![0-9]+]]
225225
; AVX1: middle.block:
226226
; AVX1-NEXT: [[CMP_N:%.*]] = icmp eq i64 [[WIDE_TRIP_COUNT]], [[N_VEC]]
227227
; AVX1-NEXT: br i1 [[CMP_N]], label [[FOR_END_LOOPEXIT:%.*]], label [[SCALAR_PH]]

0 commit comments

Comments
 (0)