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 frameOffsetReg: '$sgpr101'
30 stackPtrOffsetReg: '$sgpr32'
32 privateSegmentBuffer: { reg: '$sgpr0_sgpr1_sgpr2_sgpr3' }
33 dispatchPtr: { reg: '$sgpr4_sgpr5' }
34 kernargSegmentPtr: { reg: '$sgpr6_sgpr7' }
35 workGroupIDX: { reg: '$sgpr8' }
36 workGroupIDY: { reg: '$sgpr9' }
37 privateSegmentWaveByteOffset: { reg: '$sgpr10' }
38 workItemIDX: { reg: '$vgpr0' }
39 workItemIDY: { reg: '$vgpr1' }
40 workItemIDZ: { reg: '$vgpr2' }
43 liveins: $sgpr8, $sgpr9, $vgpr0, $vgpr1, $vgpr2, $sgpr4_sgpr5, $sgpr6_sgpr7
52 $vcc = V_CMP_LT_U32_e64 $sgpr8, $vgpr1, implicit $exec