Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / MIR / AMDGPU / extra-reg-operand.mir
blobd6b2522542a82dde76633b9e659cd25cb6f0bb79
1 # RUN: not llc -march=amdgcn -run-pass=none -o /dev/null %s 2>&1 | \
2 # RUN:   FileCheck --strict-whitespace %s
4 ---
5 name: extra_reg_operand
6 body: |
7   bb.0:
8     ; CHECK: [[@LINE+3]]:17: too many operands for instruction
9     ; CHECK-NEXT: {{^}}    S_ENDPGM 0, undef $vgpr0
10     ; CHECK-NEXT: {{^}}                ^
11     S_ENDPGM 0, undef $vgpr0
13 ...