aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/MIR/AMDGPU/machine-function-info-register-parse-error2.mir
blob: 7e14755c6e5ced5f838c75927a5d08b561b8bff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
# RUN: not llc -mtriple=amdgcn -run-pass none -filetype=null %s 2>&1 | FileCheck %s
---
name: invalid_rsrc_reg
machineFunctionInfo:
  scratchRSrcReg:  '$not_a_register_name'
# CHECK: :[[@LINE-1]]:{{[0-9]+}}: unknown register name 'not_a_register_name'
body:             |
  bb.0:

    S_ENDPGM
...