[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / hazard-recognizer-meta-insts.mir
blob6638b65e1d3e93e1dddf200a8aabed696323d8ab
1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2 # RUN: llc -march=amdgcn -mcpu=gfx906 -run-pass=post-RA-hazard-rec -o - %s | FileCheck -check-prefix=GFX9 %s
4 # Make sure the kill is skipped for hazard purposes, so the nop is
5 # correctly inserted.
7 ---
9 name: global_store_dwordx4_data_hazard_kill
11 body:             |
12   bb.0:
13     liveins: $vgpr0_vgpr1, $vgpr2_vgpr3_vgpr4_vgpr5
14     ; GFX9-LABEL: name: global_store_dwordx4_data_hazard_kill
15     ; GFX9: liveins: $vgpr0_vgpr1, $vgpr2_vgpr3_vgpr4_vgpr5
16     ; GFX9-NEXT: {{  $}}
17     ; GFX9-NEXT: GLOBAL_STORE_DWORDX4 $vgpr0_vgpr1, $vgpr2_vgpr3_vgpr4_vgpr5, 0, 0, implicit $exec
18     ; GFX9-NEXT: $vgpr2 = KILL
19     ; GFX9-NEXT: S_NOP 0
20     ; GFX9-NEXT: $vgpr2 = V_MOV_B32_e32 0, implicit $exec
21     GLOBAL_STORE_DWORDX4 $vgpr0_vgpr1, $vgpr2_vgpr3_vgpr4_vgpr5, 0, 0, implicit $exec
22     $vgpr2 = KILL
23     $vgpr2 = V_MOV_B32_e32 0, implicit $exec
25 ...
27 ---
29 name: global_store_dwordx3_data_hazard_kill
31 body:             |
32   bb.0:
33     liveins: $vgpr0_vgpr1, $vgpr2_vgpr3_vgpr4
34     ; GFX9-LABEL: name: global_store_dwordx3_data_hazard_kill
35     ; GFX9: liveins: $vgpr0_vgpr1, $vgpr2_vgpr3_vgpr4
36     ; GFX9-NEXT: {{  $}}
37     ; GFX9-NEXT: GLOBAL_STORE_DWORDX3 $vgpr0_vgpr1, $vgpr2_vgpr3_vgpr4, 0, 0, implicit $exec
38     ; GFX9-NEXT: $vgpr2 = KILL
39     ; GFX9-NEXT: S_NOP 0
40     ; GFX9-NEXT: $vgpr2 = V_MOV_B32_e32 0, implicit $exec
41     GLOBAL_STORE_DWORDX3 $vgpr0_vgpr1, $vgpr2_vgpr3_vgpr4, 0, 0, implicit $exec
42     $vgpr2 = KILL
43     $vgpr2 = V_MOV_B32_e32 0, implicit $exec
45 ...