1# RUN: llc -mtriple=amdgcn-amd-amdhsa -verify-machineinstrs -run-pass=prologepilog %s -o - | FileCheck %s
2
3# CHECK-LABEL: all_sgpr_used
4# CHECK: V_CMP_LT_U32_e64
5--- |
6  define amdgpu_kernel void @all_sgpr_used() #0 {
7    ret void
8  }
9  attributes #0 = { "amdgpu-num-sgpr"="8" "frame-pointer"="all"}
10...
11---
12name:            all_sgpr_used
13tracksRegLiveness: true
14liveins:
15  - { reg: '$vgpr0' }
16  - { reg: '$vgpr1' }
17  - { reg: '$vgpr2' }
18  - { reg: '$sgpr4_sgpr5' }
19  - { reg: '$sgpr6_sgpr7' }
20  - { reg: '$sgpr8' }
21  - { reg: '$sgpr9' }
22machineFunctionInfo:
23  explicitKernArgSize: 84
24  maxKernArgAlign: 8
25  ldsSize:         20496
26  isEntryFunction: true
27  waveLimiter:     true
28  scratchRSrcReg:  '$sgpr96_sgpr97_sgpr98_sgpr99'
29  frameOffsetReg:  '$sgpr101'
30  stackPtrOffsetReg: '$sgpr32'
31  argumentInfo:
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' }
41body:             |
42  bb.0:
43    liveins: $sgpr8, $sgpr9, $vgpr0, $vgpr1, $vgpr2, $sgpr4_sgpr5, $sgpr6_sgpr7
44    $sgpr0 = S_MOV_B32 0
45    $sgpr1 = S_MOV_B32 0
46    $sgpr2 = S_MOV_B32 0
47    $sgpr3 = S_MOV_B32 0
48    $sgpr4 = S_MOV_B32 0
49    $sgpr5 = S_MOV_B32 0
50    $sgpr6 = S_MOV_B32 0
51    $sgpr7 = S_MOV_B32 0
52    $vcc = V_CMP_LT_U32_e64 $sgpr8, $vgpr1, implicit $exec
53...
54