1 # RUN: llc -mtriple=amdgcn-amd-amdhsa -run-pass=prologepilog -o - %s | FileCheck %s
3 # Make sure the MIR printer doesn't crash when there are dead frame indexes. The
4 # CSR SGPR frame indexes are inserted, but deleted.
6 # CHECK-LABEL: name: csr_sgpr
7 # CHECK: fixedStack: []
11 tracksRegLiveness: true
13 - { reg: '$sgpr30_sgpr31' }
17 scratchRSrcReg: '$sgpr0_sgpr1_sgpr2_sgpr3'
18 frameOffsetReg: '$sgpr5'
19 stackPtrOffsetReg: '$sgpr32'
22 liveins: $sgpr30_sgpr31
24 INLINEASM &"; clobber s42", 1, 12, implicit-def dead early-clobber $sgpr42
25 S_SETPC_B64_return $sgpr30_sgpr31