Skip to content

Commit a31de5f

Browse files
committed
fixed up tests
1 parent 6aa65f4 commit a31de5f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

llvm/test/CodeGen/WebAssembly/memory-interleave.ll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2102,7 +2102,11 @@ for.body: ; preds = %entry, %for.body
21022102
}
21032103

21042104
; CHECK-LABEL: four_floats_same_op:
2105-
; CHECK-NOT: f32x4
2105+
; CHECK: loop
2106+
; CHECK: v128.load
2107+
; CHECK: v128.load
2108+
; CHECK: f32x4.mul
2109+
; CHECK: v128.store
21062110
define hidden void @four_floats_same_op(ptr noundef readonly captures(none) %a, ptr noundef readonly captures(none) %b, ptr noundef writeonly captures(none) %res, i32 noundef %N) {
21072111
entry:
21082112
%cmp45.not = icmp eq i32 %N, 0

llvm/test/Transforms/LoopVectorize/WebAssembly/memory-interleave.ll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1776,13 +1776,10 @@ for.body: ; preds = %entry, %for.body
17761776
; CHECK: Cost of 18 for VF 2: INTERLEAVE-GROUP with factor 4
17771777
; CHECK: Cost of 18 for VF 2: INTERLEAVE-GROUP with factor 4
17781778
; CHECK: Cost of 18 for VF 2: INTERLEAVE-GROUP with factor 4
1779-
; CHECK: Cost of 36 for VF 4: INTERLEAVE-GROUP with factor 4
1780-
; CHECK: Cost of 36 for VF 4: INTERLEAVE-GROUP with factor 4
1781-
; CHECK: Cost of 36 for VF 4: INTERLEAVE-GROUP with factor 4
17821779
; CHECK: LV: Scalar loop costs: 24
17831780
; CHECK: LV: Vector loop of width 2 costs: 33
17841781
; CHECK: LV: Vector loop of width 4 costs: 30
1785-
; CHECK: LV: Selecting VF: 1
1782+
; CHECK: LV: Selecting VF: 4
17861783
define hidden void @four_floats_same_op(ptr noundef readonly captures(none) %a, ptr noundef readonly captures(none) %b, ptr noundef writeonly captures(none) %res, i32 noundef %N) {
17871784
entry:
17881785
%cmp45.not = icmp eq i32 %N, 0

0 commit comments

Comments
 (0)