machine-function-info-register-parse-error2.mir
325 Bytes
# RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
# CHECK: :7:21: unknown register name 'not_a_register_name'
# CHECK: scratchRSrcReg: '$not_a_register_name'
---
name: invalid_rsrc_reg
machineFunctionInfo:
scratchRSrcReg: '$not_a_register_name'
body: |
bb.0:
S_ENDPGM
...