# RUN: not llc -mtriple=amdgcn-amd-amdhsa -run-pass=none %s -o /dev/null 2>&1 | FileCheck -check-prefix=ERR %s
---
name: invalid_reg
machineFunctionInfo:
# ERR: [[@LINE+1]]:21: unknown register name 'srst'
sgprForEXECCopy: '$srst'
body: |
bb.0:
S_ENDPGM 0
...