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 scratchWaveOffsetReg: '$sgpr4'
19 frameOffsetReg: '$sgpr5'
20 stackPtrOffsetReg: '$sgpr32'
23 liveins: $sgpr30_sgpr31
25 INLINEASM &"; clobber s42", 1, 12, implicit-def dead early-clobber $sgpr42
26 S_SETPC_B64_return $sgpr30_sgpr31