1 # RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck %s
3 # CHECK-LABEL: all_sgpr_used
4 # CHECK: V_CMP_LT_U32_e64
6 define amdgpu_kernel void @all_sgpr_used() #0 {
9 attributes #0 = { "amdgpu-num-sgpr"="8" "frame-pointer"="all"}
13 tracksRegLiveness: true
18 - { reg: '$sgpr4_sgpr5' }
19 - { reg: '$sgpr6_sgpr7' }
23 explicitKernArgSize: 84
28 scratchRSrcReg: '$sgpr96_sgpr97_sgpr98_sgpr99'
29 scratchWaveOffsetReg: '$sgpr101'
30 frameOffsetReg: '$sgpr101'
31 stackPtrOffsetReg: '$sgpr32'
33 privateSegmentBuffer: { reg: '$sgpr0_sgpr1_sgpr2_sgpr3' }
34 dispatchPtr: { reg: '$sgpr4_sgpr5' }
35 kernargSegmentPtr: { reg: '$sgpr6_sgpr7' }
36 workGroupIDX: { reg: '$sgpr8' }
37 workGroupIDY: { reg: '$sgpr9' }
38 privateSegmentWaveByteOffset: { reg: '$sgpr10' }
39 workItemIDX: { reg: '$vgpr0' }
40 workItemIDY: { reg: '$vgpr1' }
41 workItemIDZ: { reg: '$vgpr2' }
44 liveins: $sgpr8, $sgpr9, $vgpr0, $vgpr1, $vgpr2, $sgpr4_sgpr5, $sgpr6_sgpr7
53 $vcc = V_CMP_LT_U32_e64 $sgpr8, $vgpr1, implicit $exec