mfi-stack-ptr-offset-reg-class.mir 315 Bytes
# RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# CHECK: :8:30: incorrect register class for field
# CHECK: stackPtrOffsetReg:  '$vgpr0'

---
name: wrong_reg_class_stack_ptr_offset_reg
machineFunctionInfo:
  stackPtrOffsetReg:  '$vgpr0'
body:             |
  bb.0:

    S_ENDPGM
...