1# RUN: llc -mtriple=amdgcn -mcpu=gfx900 -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck %s 2 3 4# CHECK-LABEL: name: foo 5# CHECK: BUFFER_STORE_DWORD_OFFSET 6--- | 7 8 define amdgpu_kernel void @foo() #0 { 9 ret void 10 } 11 12 attributes #0 = { "frame-pointer"="all" } 13... 14--- 15name: foo 16tracksRegLiveness: true 17liveins: 18 - { reg: '$vgpr0' } 19 - { reg: '$sgpr4_sgpr5' } 20 - { reg: '$sgpr6_sgpr7' } 21 - { reg: '$sgpr8' } 22frameInfo: 23 maxAlignment: 4 24stack: 25 - { id: 0, type: spill-slot, size: 4, alignment: 4 } 26machineFunctionInfo: 27 explicitKernArgSize: 660 28 maxKernArgAlign: 4 29 isEntryFunction: true 30 waveLimiter: true 31 scratchRSrcReg: '$sgpr96_sgpr97_sgpr98_sgpr99' 32 stackPtrOffsetReg: '$sgpr32' 33 frameOffsetReg: '$sgpr33' 34 argumentInfo: 35 privateSegmentBuffer: { reg: '$sgpr0_sgpr1_sgpr2_sgpr3' } 36 dispatchPtr: { reg: '$sgpr4_sgpr5' } 37 kernargSegmentPtr: { reg: '$sgpr6_sgpr7' } 38 workGroupIDX: { reg: '$sgpr8' } 39 privateSegmentWaveByteOffset: { reg: '$sgpr9' } 40body: | 41 bb.0: 42 successors: %bb.1 43 liveins: $sgpr8, $vgpr0, $sgpr4_sgpr5, $sgpr6_sgpr7 44 45 bb.1: 46 liveins: $sgpr4, $sgpr5, $sgpr9, $sgpr22, $vgpr0, $sgpr6_sgpr7 47 48 renamable $vgpr2 = IMPLICIT_DEF 49 SI_SPILL_V32_SAVE killed $vgpr2, %stack.0, $sgpr32, 0, implicit $exec :: (store 4 into %stack.0, addrspace 5) 50