Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / MIR / AMDGPU / machine-function-info-register-parse-error2.mir
blob5385b00db9c0d7f820e136eeb03c03d883b76768
1 # RUN: not llc -march=amdgcn -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 ---
3 name: invalid_rsrc_reg
4 machineFunctionInfo:
5   scratchRSrcReg:  '$not_a_register_name'
6 # CHECK: :[[@LINE-1]]:{{[0-9]+}}: unknown register name 'not_a_register_name'
7 body:             |
8   bb.0:
10     S_ENDPGM
11 ...