[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / waitcnt-loop-single-basic-block.mir
blob55ab3ffd1f426a8acbe50f98997652e646bf71a0
1 # RUN: llc -march=amdgcn -mcpu=gfx900 -run-pass=si-insert-waitcnts -verify-machineinstrs %s -o - | FileCheck -check-prefix=GCN %s
3 # Check that the waitcnt propogates info in the case of a single basic block loop
5 # GCN-LABEL: waitcnt-loop-single-basic-block
6 # GCN: bb.0
7 # GCN: S_WAITCNT 3952
8 # GCN-NEXT: GLOBAL_STORE_DWORD
9 # GCN: S_WAITCNT 3953
10 # GCN-NEXT: GLOBAL_STORE_DWORD
12 ...
13 name: waitcnt-loop-single-basic-block
14 body: |
15   bb.0:
16     S_BRANCH %bb.1
17   bb.1:
18     GLOBAL_STORE_DWORD $vgpr7_vgpr8, $vgpr11, 0, 0, implicit $exec
19     $vgpr21 = GLOBAL_LOAD_DWORD $vgpr4_vgpr5, 0, 0, implicit $exec
20     $vgpr10 = GLOBAL_LOAD_DWORD $vgpr10_vgpr11, 0, 0, implicit $exec
21     GLOBAL_STORE_DWORD $vgpr14_vgpr15, $vgpr21, 0, 0, implicit $exec
22     $vgpr11 = GLOBAL_LOAD_DWORD $vgpr11_vgpr12, 0, 0, implicit $exec
23     S_CBRANCH_SCC1 %bb.1, implicit $scc
24   bb.2:
25     S_ENDPGM 0
26 ...