1# RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2
3---
4name: wrong_reg_class_stack_ptr_offset_reg
5machineFunctionInfo:
6  stackPtrOffsetReg:  '$vgpr0'
7# CHECK: :[[@LINE-1]]:{{[0-9]+}}: incorrect register class for field
8body:             |
9  bb.0:
10
11    S_ENDPGM
12...
13