Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / MIR / AMDGPU / sgpr-for-exec-copy-invalid-reg.mir
blobe21b8c6299cf5bb163f0437f8366df3b8d9e0314
1 # RUN: not llc -mtriple=amdgcn-amd-amdhsa -run-pass=none %s -o /dev/null 2>&1 | FileCheck -check-prefix=ERR %s
3 ---
4 name: invalid_reg
5 machineFunctionInfo:
6 # ERR: [[@LINE+1]]:21: unknown register name 'srst'
7   sgprForEXECCopy: '$srst'
8 body:             |
9   bb.0:
10     S_ENDPGM 0
12 ...