1 # RUN: llc -march=amdgcn -mcpu=gfx940 -verify-machineinstrs -run-pass post-RA-hazard-rec %s -o - | FileCheck --check-prefix=GCN %s
3 # GCN-LABEL: name: buffer_load_dword_lds
4 # GCN: $m0 = S_MOV_B32 0
6 # GCN-NEXT: BUFFER_LOAD_DWORD_LDS_ADDR64
8 name: buffer_load_dword_lds
12 BUFFER_LOAD_DWORD_LDS_ADDR64 $vgpr0_vgpr1, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 4, 0, 0, implicit $exec, implicit $m0
15 # GCN-LABEL: name: buffer_store_lds_dword
16 # GCN: $m0 = S_MOV_B32 0
18 # GCN-NEXT: BUFFER_STORE_LDS_DWORD
20 name: buffer_store_lds_dword
24 BUFFER_STORE_LDS_DWORD $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, implicit $exec, implicit $m0
27 # GCN-LABEL: name: global_load_lds_dword
28 # GCN: $m0 = S_MOV_B32 0
30 # GCN-NEXT: GLOBAL_LOAD_LDS_DWORD
32 name: global_load_lds_dword
36 GLOBAL_LOAD_LDS_DWORD $vgpr2_vgpr3, 0, 0, implicit $exec, implicit $m0
39 # GCN-LABEL: name: scratch_load_lds_dword
40 # GCN: $m0 = S_MOV_B32 0
42 # GCN-NEXT: SCRATCH_LOAD_LDS_DWORD
44 name: scratch_load_lds_dword
48 SCRATCH_LOAD_LDS_DWORD $vgpr2, 0, 0, implicit $exec, implicit $m0