1# RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=si-lower-sgpr-spills -o - %s | FileCheck %s
2
3# CHECK-LABEL: name: empty_entry_block
4# CHECK: V_WRITELANE
5# CHECK-NEXT: V_WRITELANE
6# CHECK-NEXT: V_WRITELANE
7# CHECK-NEXT: V_WRITELANE
8# CHECK: V_READLANE
9# CHECK-NEXT: V_READLANE
10# CHECK-NEXT: V_READLANE
11# CHECK-NEXT: V_READLANE
12---
13name:            empty_entry_block
14body: |
15  bb.0:
16
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
21