@@ -129,18 +129,31 @@ define i32 @test_v64i32_load_store(ptr addrspace(1) %ptr, i32 %idx, ptr addrspac
129129; GCN-SDAG-NEXT: s_wait_kmcnt 0x0
130130; GCN-SDAG-NEXT: s_clause 0xd
131131; GCN-SDAG-NEXT: scratch_store_b32 off, v40, s32 offset:52
132+ ; GCN-SDAG-NEXT: ; meta instruction
132133; GCN-SDAG-NEXT: scratch_store_b32 off, v41, s32 offset:48
134+ ; GCN-SDAG-NEXT: ; meta instruction
133135; GCN-SDAG-NEXT: scratch_store_b32 off, v42, s32 offset:44
136+ ; GCN-SDAG-NEXT: ; meta instruction
134137; GCN-SDAG-NEXT: scratch_store_b32 off, v43, s32 offset:40
138+ ; GCN-SDAG-NEXT: ; meta instruction
135139; GCN-SDAG-NEXT: scratch_store_b32 off, v44, s32 offset:36
140+ ; GCN-SDAG-NEXT: ; meta instruction
136141; GCN-SDAG-NEXT: scratch_store_b32 off, v45, s32 offset:32
142+ ; GCN-SDAG-NEXT: ; meta instruction
137143; GCN-SDAG-NEXT: scratch_store_b32 off, v56, s32 offset:28
144+ ; GCN-SDAG-NEXT: ; meta instruction
138145; GCN-SDAG-NEXT: scratch_store_b32 off, v57, s32 offset:24
146+ ; GCN-SDAG-NEXT: ; meta instruction
139147; GCN-SDAG-NEXT: scratch_store_b32 off, v58, s32 offset:20
148+ ; GCN-SDAG-NEXT: ; meta instruction
140149; GCN-SDAG-NEXT: scratch_store_b32 off, v59, s32 offset:16
150+ ; GCN-SDAG-NEXT: ; meta instruction
141151; GCN-SDAG-NEXT: scratch_store_b32 off, v60, s32 offset:12
152+ ; GCN-SDAG-NEXT: ; meta instruction
142153; GCN-SDAG-NEXT: scratch_store_b32 off, v61, s32 offset:8
154+ ; GCN-SDAG-NEXT: ; meta instruction
143155; GCN-SDAG-NEXT: scratch_store_b32 off, v62, s32 offset:4
156+ ; GCN-SDAG-NEXT: ; meta instruction
144157; GCN-SDAG-NEXT: scratch_store_b32 off, v63, s32
145158; GCN-SDAG-NEXT: global_load_b128 v[6:9], v[0:1], off offset:224
146159; GCN-SDAG-NEXT: v_dual_mov_b32 v5, v4 :: v_dual_mov_b32 v4, v3
@@ -211,20 +224,35 @@ define i32 @test_v64i32_load_store(ptr addrspace(1) %ptr, i32 %idx, ptr addrspac
211224; GCN-GISEL-NEXT: s_wait_kmcnt 0x0
212225; GCN-GISEL-NEXT: s_clause 0xf
213226; GCN-GISEL-NEXT: scratch_store_b32 off, v40, s32 offset:60
227+ ; GCN-GISEL-NEXT: ; meta instruction
214228; GCN-GISEL-NEXT: scratch_store_b32 off, v41, s32 offset:56
229+ ; GCN-GISEL-NEXT: ; meta instruction
215230; GCN-GISEL-NEXT: scratch_store_b32 off, v42, s32 offset:52
231+ ; GCN-GISEL-NEXT: ; meta instruction
216232; GCN-GISEL-NEXT: scratch_store_b32 off, v43, s32 offset:48
233+ ; GCN-GISEL-NEXT: ; meta instruction
217234; GCN-GISEL-NEXT: scratch_store_b32 off, v44, s32 offset:44
235+ ; GCN-GISEL-NEXT: ; meta instruction
218236; GCN-GISEL-NEXT: scratch_store_b32 off, v45, s32 offset:40
237+ ; GCN-GISEL-NEXT: ; meta instruction
219238; GCN-GISEL-NEXT: scratch_store_b32 off, v46, s32 offset:36
239+ ; GCN-GISEL-NEXT: ; meta instruction
220240; GCN-GISEL-NEXT: scratch_store_b32 off, v47, s32 offset:32
241+ ; GCN-GISEL-NEXT: ; meta instruction
221242; GCN-GISEL-NEXT: scratch_store_b32 off, v56, s32 offset:28
243+ ; GCN-GISEL-NEXT: ; meta instruction
222244; GCN-GISEL-NEXT: scratch_store_b32 off, v57, s32 offset:24
245+ ; GCN-GISEL-NEXT: ; meta instruction
223246; GCN-GISEL-NEXT: scratch_store_b32 off, v58, s32 offset:20
247+ ; GCN-GISEL-NEXT: ; meta instruction
224248; GCN-GISEL-NEXT: scratch_store_b32 off, v59, s32 offset:16
249+ ; GCN-GISEL-NEXT: ; meta instruction
225250; GCN-GISEL-NEXT: scratch_store_b32 off, v60, s32 offset:12
251+ ; GCN-GISEL-NEXT: ; meta instruction
226252; GCN-GISEL-NEXT: scratch_store_b32 off, v61, s32 offset:8
253+ ; GCN-GISEL-NEXT: ; meta instruction
227254; GCN-GISEL-NEXT: scratch_store_b32 off, v62, s32 offset:4
255+ ; GCN-GISEL-NEXT: ; meta instruction
228256; GCN-GISEL-NEXT: scratch_store_b32 off, v63, s32
229257; GCN-GISEL-NEXT: s_wait_xcnt 0x8
230258; GCN-GISEL-NEXT: v_dual_mov_b32 v46, v3 :: v_dual_mov_b32 v47, v4
@@ -304,8 +332,11 @@ define i64 @test_v16i64_load_store(ptr addrspace(1) %ptr_a, ptr addrspace(1) %pt
304332; GCN-SDAG-NEXT: s_wait_kmcnt 0x0
305333; GCN-SDAG-NEXT: s_clause 0x3
306334; GCN-SDAG-NEXT: scratch_store_b32 off, v40, s32 offset:12
335+ ; GCN-SDAG-NEXT: ; meta instruction
307336; GCN-SDAG-NEXT: scratch_store_b32 off, v41, s32 offset:8
337+ ; GCN-SDAG-NEXT: ; meta instruction
308338; GCN-SDAG-NEXT: scratch_store_b32 off, v42, s32 offset:4
339+ ; GCN-SDAG-NEXT: ; meta instruction
309340; GCN-SDAG-NEXT: scratch_store_b32 off, v43, s32
310341; GCN-SDAG-NEXT: s_clause 0x7
311342; GCN-SDAG-NEXT: global_load_b128 v[6:9], v[0:1], off offset:112
@@ -391,10 +422,15 @@ define i64 @test_v16i64_load_store(ptr addrspace(1) %ptr_a, ptr addrspace(1) %pt
391422; GCN-GISEL-NEXT: s_wait_kmcnt 0x0
392423; GCN-GISEL-NEXT: s_clause 0x5
393424; GCN-GISEL-NEXT: scratch_store_b32 off, v40, s32 offset:20
425+ ; GCN-GISEL-NEXT: ; meta instruction
394426; GCN-GISEL-NEXT: scratch_store_b32 off, v41, s32 offset:16
427+ ; GCN-GISEL-NEXT: ; meta instruction
395428; GCN-GISEL-NEXT: scratch_store_b32 off, v42, s32 offset:12
429+ ; GCN-GISEL-NEXT: ; meta instruction
396430; GCN-GISEL-NEXT: scratch_store_b32 off, v43, s32 offset:8
431+ ; GCN-GISEL-NEXT: ; meta instruction
397432; GCN-GISEL-NEXT: scratch_store_b32 off, v44, s32 offset:4
433+ ; GCN-GISEL-NEXT: ; meta instruction
398434; GCN-GISEL-NEXT: scratch_store_b32 off, v45, s32
399435; GCN-GISEL-NEXT: s_clause 0x7
400436; GCN-GISEL-NEXT: global_load_b128 v[6:9], v[0:1], off offset:80
0 commit comments