1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4
2 # RUN: llc -mtriple=amdgcn -mcpu=gfx1200 -run-pass=si-memory-legalizer %s -o - | FileCheck -check-prefix=GFX12 %s
5 name: intrinsic_store_system_scope
8 liveins: $sgpr0, $sgpr1, $sgpr2, $sgpr3, $sgpr4, $vgpr0, $vgpr1, $vgpr2
10 ; GFX12-LABEL: name: intrinsic_store_system_scope
11 ; GFX12: liveins: $sgpr0, $sgpr1, $sgpr2, $sgpr3, $sgpr4, $vgpr0, $vgpr1, $vgpr2
13 ; GFX12-NEXT: S_WAIT_LOADCNT_soft 0
14 ; GFX12-NEXT: S_WAIT_SAMPLECNT_soft 0
15 ; GFX12-NEXT: S_WAIT_BVHCNT_soft 0
16 ; GFX12-NEXT: S_WAIT_KMCNT_soft 0
17 ; GFX12-NEXT: S_WAIT_STORECNT_soft 0
18 ; GFX12-NEXT: BUFFER_STORE_DWORD_VBUFFER_BOTHEN_exact killed renamable $vgpr0, killed renamable $vgpr1_vgpr2, killed renamable $sgpr0_sgpr1_sgpr2_sgpr3, killed renamable $sgpr4, 0, 24, 0, implicit $exec :: (dereferenceable store (s32), align 1, addrspace 8)
19 ; GFX12-NEXT: S_ENDPGM 0
20 BUFFER_STORE_DWORD_VBUFFER_BOTHEN_exact killed renamable $vgpr0, killed renamable $vgpr1_vgpr2, killed renamable $sgpr0_sgpr1_sgpr2_sgpr3, killed renamable $sgpr4, 0, 24, 0, implicit $exec :: (dereferenceable store (s32), align 1, addrspace 8)
25 name: generic_store_volatile
28 liveins: $vgpr0, $vgpr1, $vgpr2
30 ; GFX12-LABEL: name: generic_store_volatile
31 ; GFX12: liveins: $vgpr0, $vgpr1, $vgpr2
33 ; GFX12-NEXT: S_WAIT_LOADCNT_soft 0
34 ; GFX12-NEXT: S_WAIT_SAMPLECNT_soft 0
35 ; GFX12-NEXT: S_WAIT_BVHCNT_soft 0
36 ; GFX12-NEXT: S_WAIT_KMCNT_soft 0
37 ; GFX12-NEXT: S_WAIT_STORECNT_soft 0
38 ; GFX12-NEXT: GLOBAL_STORE_DWORD killed renamable $vgpr1_vgpr2, killed renamable $vgpr0, 0, 24, implicit $exec :: (volatile store (s32), addrspace 1)
39 ; GFX12-NEXT: S_WAIT_STORECNT_soft 0
40 ; GFX12-NEXT: S_ENDPGM 0
41 GLOBAL_STORE_DWORD killed renamable $vgpr1_vgpr2, killed renamable $vgpr0, 0, 0, implicit $exec :: (volatile store (s32), addrspace 1)