32 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=amdgcn -mcpu=gfx906 -start-before=si-lower-sgpr-spills -stop-after=prologepilog -verify-machineinstrs -o - %s | FileCheck %s3 4# Make sure the modified CSR VGPRs are added as live-in to the entry5# block.6 7---8name: def_csr_sgpr9tracksRegLiveness: true10machineFunctionInfo:11 scratchRSrcReg: $sgpr0_sgpr1_sgpr2_sgpr312 stackPtrOffsetReg: $sgpr3213body: |14 ; CHECK-LABEL: name: def_csr_sgpr15 ; CHECK: bb.0:16 ; CHECK-NEXT: successors: %bb.1(0x80000000)17 ; CHECK-NEXT: {{ $}}18 ; CHECK-NEXT: S_NOP 019 ; CHECK-NEXT: {{ $}}20 ; CHECK-NEXT: bb.1:21 ; CHECK-NEXT: $sgpr42 = S_MOV_B32 022 ; CHECK-NEXT: $sgpr43 = S_MOV_B32 123 ; CHECK-NEXT: $sgpr46_sgpr47 = S_MOV_B64 224 bb.0:25 S_NOP 026 27 bb.1:28 $sgpr42 = S_MOV_B32 029 $sgpr43 = S_MOV_B32 130 $sgpr46_sgpr47 = S_MOV_B64 231...32