Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / CodeGen / MIR / AMDGPU / extra-imm-operand.mir
blob65cb32cdd9aebfe8520b63fef32d0683b2f9c7a3
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_imm_operand
6 body: |
7   bb.0:
8     ; CHECK: [[@LINE+3]]:17: too many operands for instruction
9     ; CHECK-NEXT: {{^}}    S_ENDPGM 0, 0
10     ; CHECK-NEXT: {{^}}                ^
11     S_ENDPGM 0, 0
13 ...