[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / si-lower-sgpr-spills.mir
blob2de7d86223eb2475076aa18ebd43eee0c4a3af68
1 # RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s
3 # CHECK-LABEL: name: empty_entry_block
4 # CHECK: SI_SPILL_S32_TO_VGPR
5 # CHECK-NEXT: SI_SPILL_S32_TO_VGPR
6 # CHECK-NEXT: SI_SPILL_S32_TO_VGPR
7 # CHECK-NEXT: SI_SPILL_S32_TO_VGPR
8 # CHECK: SI_RESTORE_S32_FROM_VGPR
9 # CHECK-NEXT: SI_RESTORE_S32_FROM_VGPR
10 # CHECK-NEXT: SI_RESTORE_S32_FROM_VGPR
11 # CHECK-NEXT: SI_RESTORE_S32_FROM_VGPR
12 ---
13 name:            empty_entry_block
14 body: |
15   bb.0:
17   bb.1:
18     renamable $sgpr36_sgpr37 = S_XOR_B64 renamable $vcc, -1, implicit-def dead $scc
19     $sgpr34_sgpr35 = S_AND_SAVEEXEC_B64 $sgpr36_sgpr37, implicit-def $exec, implicit-def $scc, implicit $exec
20     S_ENDPGM 0