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
13 name: empty_entry_block
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