mfi-parse-error-scratch-rsrc-reg.mir 273 Bytes
# RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# CHECK: :7:21: expected a named register
# CHECK: scratchRSrcReg:  ''
---
name: empty_scratch_rsrc_reg
machineFunctionInfo:
  scratchRSrcReg:  ''
body:             |
  bb.0:

    S_ENDPGM
...