Skip to content

Commit 28ee0f6

Browse files
committed
updated tests
1 parent 9186e12 commit 28ee0f6

File tree

1 file changed

+15
-21
lines changed

1 file changed

+15
-21
lines changed

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

Lines changed: 15 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -737,25 +737,25 @@ define hidden void @four_bytes_same_op(ptr noalias nocapture noundef writeonly %
737737
; CHECK: loop
738738
; CHECK: v128.load
739739
; CHECK: v128.load
740-
; CHECK: i8x16.shuffle {{.*}} 0, 4, 8, 12, 16, 20, 24, 28, 0, 0, 0, 0, 0, 0, 0, 0
741-
; CHECK: i16x8.extend_low_i8x16_u
740+
; CHECK: i8x16.shuffle {{.*}}, 0, 4, 8, 12, 16, 20, 24, 28, 0, 0, 0, 0, 0, 0, 0, 0
742741
; CHECK: v128.load
743742
; CHECK: v128.load
744-
; CHECK: i8x16.shuffle {{.*}} 0, 4, 8, 12, 16, 20, 24, 28, 0, 0, 0, 0, 0, 0, 0, 0
745-
; CHECK: i16x8.extend_low_i8x16_u
743+
; CHECK: i8x16.shuffle {{.*}}, 0, 4, 8, 12, 16, 20, 24, 28, 0, 0, 0, 0, 0, 0, 0, 0
746744
; CHECK: i16x8.extmul_low_i8x16_u
747-
; CHECK: i8x16.shuffle {{.*}} 1, 5, 9, 13, 17, 21, 25, 29, 0, 0, 0, 0, 0, 0, 0, 0
748-
; CHECK: i16x8.extend_low_i8x16_u
749-
; CHECK: i8x16.shuffle {{.*}} 1, 5, 9, 13, 17, 21, 25, 29, 0, 0, 0, 0, 0, 0, 0, 0
750-
; CHECK: i16x8.extend_low_i8x16_u
745+
; CHECK: i8x16.shuffle {{.*}}, 1, 5, 9, 13, 17, 21, 25, 29, 0, 0, 0, 0, 0, 0, 0, 0
746+
; CHECK: i8x16.shuffle {{.*}}, 1, 5, 9, 13, 17, 21, 25, 29, 0, 0, 0, 0, 0, 0, 0, 0
751747
; CHECK: i16x8.extmul_low_i8x16_u
752-
; CHECK: i8x16.shuffle {{.*}} 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30
753-
; CHECK: i8x16.shuffle {{.*}} 2, 6, 10, 14, 18, 22, 26, 30, 3, 7, 11, 15, 19, 23, 27, 31
754-
; CHECK: i8x16.shuffle {{.*}} 2, 6, 10, 14, 18, 22, 26, 30, 3, 7, 11, 15, 19, 23, 27, 31
748+
; CHECK: i8x16.shuffle {{.*}}, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30
749+
; CHECK: i8x16.shuffle {{.*}}, 2, 6, 10, 14, 18, 22, 26, 30, 0, 0, 0, 0, 0, 0, 0, 0
750+
; CHECK: i8x16.shuffle {{.*}}, 2, 6, 10, 14, 18, 22, 26, 30, 0, 0, 0, 0, 0, 0, 0, 0
751+
; CHECK: i8x16.sub
752+
; CHECK: i8x16.shuffle {{.*}}, 3, 7, 11, 15, 19, 23, 27, 31, 0, 0, 0, 0, 0, 0, 0, 0
753+
; CHECK: i8x16.shuffle {{.*}}, 3, 7, 11, 15, 19, 23, 27, 31, 0, 0, 0, 0, 0, 0, 0, 0
755754
; CHECK: i8x16.sub
756-
; CHECK: i8x16.shuffle {{.*}} 4, 12, 20, 28, 5, 13, 21, 29, 6, 14, 22, 30, 7, 15, 23, 31
755+
; CHECK: i8x16.shuffle {{.*}}, 0, 1, 2, 3, 4, 5, 6, 7, 16, 17, 18, 19, 20, 21, 22, 23
756+
; CHECK: i8x16.shuffle {{.*}}, 4, 12, 20, 28, 5, 13, 21, 29, 6, 14, 22, 30, 7, 15, 23, 31
757757
; CHECK: v128.store
758-
; CHECK: i8x16.shuffle {{.*}} 0, 8, 16, 24, 1, 9, 17, 25, 2, 10, 18, 26, 3, 11, 19, 27
758+
; CHECK: i8x16.shuffle {{.*}}, 0, 8, 16, 24, 1, 9, 17, 25, 2, 10, 18, 26, 3, 11, 19, 27
759759
; CHECK: v128.store
760760
define hidden void @four_bytes_split_op(ptr noalias nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) {
761761
%5 = icmp eq i32 %3, 0
@@ -1491,16 +1491,10 @@ define hidden void @scale_uv_row_down2_box(ptr nocapture noundef readonly %0, i3
14911491
; CHECK: v128.load
14921492
; CHECK: i8x16.shuffle {{.*}} 0, 4, 8, 12, 16, 20, 24, 28, 0, 0, 0, 0, 0, 0, 0, 0
14931493
; CHECK: i8x16.shuffle {{.*}} 2, 6, 10, 14, 18, 22, 26, 30, 0, 0, 0, 0, 0, 0, 0, 0
1494-
; CHECK: v128.or
1495-
; CHECK: v128.xor
1496-
; CHECK: i8x16.shr_u
1497-
; CHECK: i8x16.sub
1494+
; CHECK: i8x16.avgr_u
14981495
; CHECK: i8x16.shuffle {{.*}} 1, 5, 9, 13, 17, 21, 25, 29, 0, 0, 0, 0, 0, 0, 0, 0
14991496
; CHECK: i8x16.shuffle {{.*}} 3, 7, 11, 15, 19, 23, 27, 31, 0, 0, 0, 0, 0, 0, 0, 0
1500-
; CHECK: v128.or
1501-
; CHECK: v128.xor
1502-
; CHECK: i8x16.shr_u
1503-
; CHECK: i8x16.sub
1497+
; CHECK: i8x16.avgr_u
15041498
; CHECK: i8x16.shuffle {{.*}} 0, 16, 1, 17, 2, 18, 3, 19, 4, 20, 5, 21, 6, 22, 7, 23
15051499
; CHECK: v128.store
15061500
define hidden void @scale_uv_row_down2_linear(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i32 noundef %3) {

0 commit comments

Comments
 (0)