llvm/llvm/test/CodeGen/MIR/AMDGPU/mfi-stack-ptr-offset-reg-class.mir

# RUN: not llc -mtriple=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s

---
name: wrong_reg_class_stack_ptr_offset_reg
machineFunctionInfo:
  stackPtrOffsetReg:  '$vgpr0'
# CHECK: :[[@LINE-1]]:{{[0-9]+}}: incorrect register class for field
body:             |
  bb.0:

    S_ENDPGM
...