Skip to content

Commit 41f7607

Browse files
committed
AMDGPU: Regenerate test checks
1 parent 6160a67 commit 41f7607

File tree

3 files changed

+135
-75
lines changed

3 files changed

+135
-75
lines changed

llvm/test/CodeGen/AMDGPU/shufflevector.v4f32.v2f32.ll

Lines changed: 45 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3607,9 +3607,9 @@ define void @s_shuffle_v4f32_v2f32__3_3_3_0() {
36073607
; GFX90A-NEXT: ;;#ASMSTART
36083608
; GFX90A-NEXT: ; def s[4:5]
36093609
; GFX90A-NEXT: ;;#ASMEND
3610+
; GFX90A-NEXT: s_mov_b32 s8, s9
36103611
; GFX90A-NEXT: s_mov_b32 s10, s9
36113612
; GFX90A-NEXT: s_mov_b32 s11, s4
3612-
; GFX90A-NEXT: s_mov_b32 s8, s9
36133613
; GFX90A-NEXT: ;;#ASMSTART
36143614
; GFX90A-NEXT: ; use s[8:11]
36153615
; GFX90A-NEXT: ;;#ASMEND
@@ -3624,9 +3624,9 @@ define void @s_shuffle_v4f32_v2f32__3_3_3_0() {
36243624
; GFX940-NEXT: ;;#ASMSTART
36253625
; GFX940-NEXT: ; def s[0:1]
36263626
; GFX940-NEXT: ;;#ASMEND
3627+
; GFX940-NEXT: s_mov_b32 s8, s9
36273628
; GFX940-NEXT: s_mov_b32 s10, s9
36283629
; GFX940-NEXT: s_mov_b32 s11, s0
3629-
; GFX940-NEXT: s_mov_b32 s8, s9
36303630
; GFX940-NEXT: ;;#ASMSTART
36313631
; GFX940-NEXT: ; use s[8:11]
36323632
; GFX940-NEXT: ;;#ASMEND
@@ -3677,19 +3677,35 @@ define void @s_shuffle_v4f32_v2f32__3_3_3_2() {
36773677
; GFX900-NEXT: ;;#ASMEND
36783678
; GFX900-NEXT: s_setpc_b64 s[30:31]
36793679
;
3680-
; GFX90APLUS-LABEL: s_shuffle_v4f32_v2f32__3_3_3_2:
3681-
; GFX90APLUS: ; %bb.0:
3682-
; GFX90APLUS-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
3683-
; GFX90APLUS-NEXT: ;;#ASMSTART
3684-
; GFX90APLUS-NEXT: ; def s[8:9]
3685-
; GFX90APLUS-NEXT: ;;#ASMEND
3686-
; GFX90APLUS-NEXT: s_mov_b32 s10, s9
3687-
; GFX90APLUS-NEXT: s_mov_b32 s11, s8
3688-
; GFX90APLUS-NEXT: s_mov_b32 s8, s9
3689-
; GFX90APLUS-NEXT: ;;#ASMSTART
3690-
; GFX90APLUS-NEXT: ; use s[8:11]
3691-
; GFX90APLUS-NEXT: ;;#ASMEND
3692-
; GFX90APLUS-NEXT: s_setpc_b64 s[30:31]
3680+
; GFX90A-LABEL: s_shuffle_v4f32_v2f32__3_3_3_2:
3681+
; GFX90A: ; %bb.0:
3682+
; GFX90A-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
3683+
; GFX90A-NEXT: ;;#ASMSTART
3684+
; GFX90A-NEXT: ; def s[4:5]
3685+
; GFX90A-NEXT: ;;#ASMEND
3686+
; GFX90A-NEXT: s_mov_b32 s8, s5
3687+
; GFX90A-NEXT: s_mov_b32 s9, s5
3688+
; GFX90A-NEXT: s_mov_b32 s10, s5
3689+
; GFX90A-NEXT: s_mov_b32 s11, s4
3690+
; GFX90A-NEXT: ;;#ASMSTART
3691+
; GFX90A-NEXT: ; use s[8:11]
3692+
; GFX90A-NEXT: ;;#ASMEND
3693+
; GFX90A-NEXT: s_setpc_b64 s[30:31]
3694+
;
3695+
; GFX940-LABEL: s_shuffle_v4f32_v2f32__3_3_3_2:
3696+
; GFX940: ; %bb.0:
3697+
; GFX940-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
3698+
; GFX940-NEXT: ;;#ASMSTART
3699+
; GFX940-NEXT: ; def s[0:1]
3700+
; GFX940-NEXT: ;;#ASMEND
3701+
; GFX940-NEXT: s_mov_b32 s8, s1
3702+
; GFX940-NEXT: s_mov_b32 s9, s1
3703+
; GFX940-NEXT: s_mov_b32 s10, s1
3704+
; GFX940-NEXT: s_mov_b32 s11, s0
3705+
; GFX940-NEXT: ;;#ASMSTART
3706+
; GFX940-NEXT: ; use s[8:11]
3707+
; GFX940-NEXT: ;;#ASMEND
3708+
; GFX940-NEXT: s_setpc_b64 s[30:31]
36933709
%vec0 = call <2 x float> asm "; def $0", "=s"()
36943710
%vec1 = call <2 x float> asm "; def $0", "=s"()
36953711
%shuf = shufflevector <2 x float> %vec0, <2 x float> %vec1, <4 x i32> <i32 3, i32 3, i32 3, i32 2>
@@ -4130,9 +4146,9 @@ define void @s_shuffle_v4f32_v2f32__3_3_1_0() {
41304146
; GFX90A-NEXT: ;;#ASMSTART
41314147
; GFX90A-NEXT: ; def s[4:5]
41324148
; GFX90A-NEXT: ;;#ASMEND
4149+
; GFX90A-NEXT: s_mov_b32 s8, s9
41334150
; GFX90A-NEXT: s_mov_b32 s10, s5
41344151
; GFX90A-NEXT: s_mov_b32 s11, s4
4135-
; GFX90A-NEXT: s_mov_b32 s8, s9
41364152
; GFX90A-NEXT: ;;#ASMSTART
41374153
; GFX90A-NEXT: ; use s[8:11]
41384154
; GFX90A-NEXT: ;;#ASMEND
@@ -4147,9 +4163,9 @@ define void @s_shuffle_v4f32_v2f32__3_3_1_0() {
41474163
; GFX940-NEXT: ;;#ASMSTART
41484164
; GFX940-NEXT: ; def s[0:1]
41494165
; GFX940-NEXT: ;;#ASMEND
4166+
; GFX940-NEXT: s_mov_b32 s8, s9
41504167
; GFX940-NEXT: s_mov_b32 s10, s1
41514168
; GFX940-NEXT: s_mov_b32 s11, s0
4152-
; GFX940-NEXT: s_mov_b32 s8, s9
41534169
; GFX940-NEXT: ;;#ASMSTART
41544170
; GFX940-NEXT: ; use s[8:11]
41554171
; GFX940-NEXT: ;;#ASMEND
@@ -5033,14 +5049,15 @@ define void @s_shuffle_v4f32_v2f32__3_3_1_2() {
50335049
; GFX90A: ; %bb.0:
50345050
; GFX90A-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
50355051
; GFX90A-NEXT: ;;#ASMSTART
5036-
; GFX90A-NEXT: ; def s[8:9]
5052+
; GFX90A-NEXT: ; def s[4:5]
50375053
; GFX90A-NEXT: ;;#ASMEND
50385054
; GFX90A-NEXT: ;;#ASMSTART
5039-
; GFX90A-NEXT: ; def s[4:5]
5055+
; GFX90A-NEXT: ; def s[6:7]
50405056
; GFX90A-NEXT: ;;#ASMEND
5057+
; GFX90A-NEXT: s_mov_b32 s8, s7
5058+
; GFX90A-NEXT: s_mov_b32 s9, s7
50415059
; GFX90A-NEXT: s_mov_b32 s10, s5
5042-
; GFX90A-NEXT: s_mov_b32 s11, s8
5043-
; GFX90A-NEXT: s_mov_b32 s8, s9
5060+
; GFX90A-NEXT: s_mov_b32 s11, s6
50445061
; GFX90A-NEXT: ;;#ASMSTART
50455062
; GFX90A-NEXT: ; use s[8:11]
50465063
; GFX90A-NEXT: ;;#ASMEND
@@ -5050,14 +5067,15 @@ define void @s_shuffle_v4f32_v2f32__3_3_1_2() {
50505067
; GFX940: ; %bb.0:
50515068
; GFX940-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
50525069
; GFX940-NEXT: ;;#ASMSTART
5053-
; GFX940-NEXT: ; def s[8:9]
5070+
; GFX940-NEXT: ; def s[0:1]
50545071
; GFX940-NEXT: ;;#ASMEND
50555072
; GFX940-NEXT: ;;#ASMSTART
5056-
; GFX940-NEXT: ; def s[0:1]
5073+
; GFX940-NEXT: ; def s[2:3]
50575074
; GFX940-NEXT: ;;#ASMEND
5075+
; GFX940-NEXT: s_mov_b32 s8, s3
5076+
; GFX940-NEXT: s_mov_b32 s9, s3
50585077
; GFX940-NEXT: s_mov_b32 s10, s1
5059-
; GFX940-NEXT: s_mov_b32 s11, s8
5060-
; GFX940-NEXT: s_mov_b32 s8, s9
5078+
; GFX940-NEXT: s_mov_b32 s11, s2
50615079
; GFX940-NEXT: ;;#ASMSTART
50625080
; GFX940-NEXT: ; use s[8:11]
50635081
; GFX940-NEXT: ;;#ASMEND
@@ -5432,3 +5450,5 @@ define void @s_shuffle_v4f32_v2f32__3_3_2_3() {
54325450
call void asm sideeffect "; use $0", "{s[8:11]}"(<4 x float> %shuf)
54335451
ret void
54345452
}
5453+
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
5454+
; GFX90APLUS: {{.*}}

llvm/test/CodeGen/AMDGPU/shufflevector.v4i32.v2i32.ll

Lines changed: 45 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3613,9 +3613,9 @@ define void @s_shuffle_v4i32_v2i32__3_3_3_0() {
36133613
; GFX90A-NEXT: ;;#ASMSTART
36143614
; GFX90A-NEXT: ; def s[4:5]
36153615
; GFX90A-NEXT: ;;#ASMEND
3616+
; GFX90A-NEXT: s_mov_b32 s8, s9
36163617
; GFX90A-NEXT: s_mov_b32 s10, s9
36173618
; GFX90A-NEXT: s_mov_b32 s11, s4
3618-
; GFX90A-NEXT: s_mov_b32 s8, s9
36193619
; GFX90A-NEXT: ;;#ASMSTART
36203620
; GFX90A-NEXT: ; use s[8:11]
36213621
; GFX90A-NEXT: ;;#ASMEND
@@ -3630,9 +3630,9 @@ define void @s_shuffle_v4i32_v2i32__3_3_3_0() {
36303630
; GFX940-NEXT: ;;#ASMSTART
36313631
; GFX940-NEXT: ; def s[0:1]
36323632
; GFX940-NEXT: ;;#ASMEND
3633+
; GFX940-NEXT: s_mov_b32 s8, s9
36333634
; GFX940-NEXT: s_mov_b32 s10, s9
36343635
; GFX940-NEXT: s_mov_b32 s11, s0
3635-
; GFX940-NEXT: s_mov_b32 s8, s9
36363636
; GFX940-NEXT: ;;#ASMSTART
36373637
; GFX940-NEXT: ; use s[8:11]
36383638
; GFX940-NEXT: ;;#ASMEND
@@ -3683,19 +3683,35 @@ define void @s_shuffle_v4i32_v2i32__3_3_3_2() {
36833683
; GFX900-NEXT: ;;#ASMEND
36843684
; GFX900-NEXT: s_setpc_b64 s[30:31]
36853685
;
3686-
; GFX90APLUS-LABEL: s_shuffle_v4i32_v2i32__3_3_3_2:
3687-
; GFX90APLUS: ; %bb.0:
3688-
; GFX90APLUS-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
3689-
; GFX90APLUS-NEXT: ;;#ASMSTART
3690-
; GFX90APLUS-NEXT: ; def s[8:9]
3691-
; GFX90APLUS-NEXT: ;;#ASMEND
3692-
; GFX90APLUS-NEXT: s_mov_b32 s10, s9
3693-
; GFX90APLUS-NEXT: s_mov_b32 s11, s8
3694-
; GFX90APLUS-NEXT: s_mov_b32 s8, s9
3695-
; GFX90APLUS-NEXT: ;;#ASMSTART
3696-
; GFX90APLUS-NEXT: ; use s[8:11]
3697-
; GFX90APLUS-NEXT: ;;#ASMEND
3698-
; GFX90APLUS-NEXT: s_setpc_b64 s[30:31]
3686+
; GFX90A-LABEL: s_shuffle_v4i32_v2i32__3_3_3_2:
3687+
; GFX90A: ; %bb.0:
3688+
; GFX90A-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
3689+
; GFX90A-NEXT: ;;#ASMSTART
3690+
; GFX90A-NEXT: ; def s[4:5]
3691+
; GFX90A-NEXT: ;;#ASMEND
3692+
; GFX90A-NEXT: s_mov_b32 s8, s5
3693+
; GFX90A-NEXT: s_mov_b32 s9, s5
3694+
; GFX90A-NEXT: s_mov_b32 s10, s5
3695+
; GFX90A-NEXT: s_mov_b32 s11, s4
3696+
; GFX90A-NEXT: ;;#ASMSTART
3697+
; GFX90A-NEXT: ; use s[8:11]
3698+
; GFX90A-NEXT: ;;#ASMEND
3699+
; GFX90A-NEXT: s_setpc_b64 s[30:31]
3700+
;
3701+
; GFX940-LABEL: s_shuffle_v4i32_v2i32__3_3_3_2:
3702+
; GFX940: ; %bb.0:
3703+
; GFX940-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
3704+
; GFX940-NEXT: ;;#ASMSTART
3705+
; GFX940-NEXT: ; def s[0:1]
3706+
; GFX940-NEXT: ;;#ASMEND
3707+
; GFX940-NEXT: s_mov_b32 s8, s1
3708+
; GFX940-NEXT: s_mov_b32 s9, s1
3709+
; GFX940-NEXT: s_mov_b32 s10, s1
3710+
; GFX940-NEXT: s_mov_b32 s11, s0
3711+
; GFX940-NEXT: ;;#ASMSTART
3712+
; GFX940-NEXT: ; use s[8:11]
3713+
; GFX940-NEXT: ;;#ASMEND
3714+
; GFX940-NEXT: s_setpc_b64 s[30:31]
36993715
%vec0 = call <2 x i32> asm "; def $0", "=s"()
37003716
%vec1 = call <2 x i32> asm "; def $0", "=s"()
37013717
%shuf = shufflevector <2 x i32> %vec0, <2 x i32> %vec1, <4 x i32> <i32 3, i32 3, i32 3, i32 2>
@@ -4138,9 +4154,9 @@ define void @s_shuffle_v4i32_v2i32__3_3_1_0() {
41384154
; GFX90A-NEXT: ;;#ASMSTART
41394155
; GFX90A-NEXT: ; def s[4:5]
41404156
; GFX90A-NEXT: ;;#ASMEND
4157+
; GFX90A-NEXT: s_mov_b32 s8, s9
41414158
; GFX90A-NEXT: s_mov_b32 s10, s5
41424159
; GFX90A-NEXT: s_mov_b32 s11, s4
4143-
; GFX90A-NEXT: s_mov_b32 s8, s9
41444160
; GFX90A-NEXT: ;;#ASMSTART
41454161
; GFX90A-NEXT: ; use s[8:11]
41464162
; GFX90A-NEXT: ;;#ASMEND
@@ -4155,9 +4171,9 @@ define void @s_shuffle_v4i32_v2i32__3_3_1_0() {
41554171
; GFX940-NEXT: ;;#ASMSTART
41564172
; GFX940-NEXT: ; def s[0:1]
41574173
; GFX940-NEXT: ;;#ASMEND
4174+
; GFX940-NEXT: s_mov_b32 s8, s9
41584175
; GFX940-NEXT: s_mov_b32 s10, s1
41594176
; GFX940-NEXT: s_mov_b32 s11, s0
4160-
; GFX940-NEXT: s_mov_b32 s8, s9
41614177
; GFX940-NEXT: ;;#ASMSTART
41624178
; GFX940-NEXT: ; use s[8:11]
41634179
; GFX940-NEXT: ;;#ASMEND
@@ -5041,14 +5057,15 @@ define void @s_shuffle_v4i32_v2i32__3_3_1_2() {
50415057
; GFX90A: ; %bb.0:
50425058
; GFX90A-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
50435059
; GFX90A-NEXT: ;;#ASMSTART
5044-
; GFX90A-NEXT: ; def s[8:9]
5060+
; GFX90A-NEXT: ; def s[4:5]
50455061
; GFX90A-NEXT: ;;#ASMEND
50465062
; GFX90A-NEXT: ;;#ASMSTART
5047-
; GFX90A-NEXT: ; def s[4:5]
5063+
; GFX90A-NEXT: ; def s[6:7]
50485064
; GFX90A-NEXT: ;;#ASMEND
5065+
; GFX90A-NEXT: s_mov_b32 s8, s7
5066+
; GFX90A-NEXT: s_mov_b32 s9, s7
50495067
; GFX90A-NEXT: s_mov_b32 s10, s5
5050-
; GFX90A-NEXT: s_mov_b32 s11, s8
5051-
; GFX90A-NEXT: s_mov_b32 s8, s9
5068+
; GFX90A-NEXT: s_mov_b32 s11, s6
50525069
; GFX90A-NEXT: ;;#ASMSTART
50535070
; GFX90A-NEXT: ; use s[8:11]
50545071
; GFX90A-NEXT: ;;#ASMEND
@@ -5058,14 +5075,15 @@ define void @s_shuffle_v4i32_v2i32__3_3_1_2() {
50585075
; GFX940: ; %bb.0:
50595076
; GFX940-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
50605077
; GFX940-NEXT: ;;#ASMSTART
5061-
; GFX940-NEXT: ; def s[8:9]
5078+
; GFX940-NEXT: ; def s[0:1]
50625079
; GFX940-NEXT: ;;#ASMEND
50635080
; GFX940-NEXT: ;;#ASMSTART
5064-
; GFX940-NEXT: ; def s[0:1]
5081+
; GFX940-NEXT: ; def s[2:3]
50655082
; GFX940-NEXT: ;;#ASMEND
5083+
; GFX940-NEXT: s_mov_b32 s8, s3
5084+
; GFX940-NEXT: s_mov_b32 s9, s3
50665085
; GFX940-NEXT: s_mov_b32 s10, s1
5067-
; GFX940-NEXT: s_mov_b32 s11, s8
5068-
; GFX940-NEXT: s_mov_b32 s8, s9
5086+
; GFX940-NEXT: s_mov_b32 s11, s2
50695087
; GFX940-NEXT: ;;#ASMSTART
50705088
; GFX940-NEXT: ; use s[8:11]
50715089
; GFX940-NEXT: ;;#ASMEND
@@ -5440,3 +5458,5 @@ define void @s_shuffle_v4i32_v2i32__3_3_2_3() {
54405458
call void asm sideeffect "; use $0", "{s[8:11]}"(<4 x i32> %shuf)
54415459
ret void
54425460
}
5461+
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
5462+
; GFX90APLUS: {{.*}}

0 commit comments

Comments
 (0)