Files
clang-p2996/llvm/test/CodeGen/MIR/AMDGPU/extra-imm-operand.mir
Ivan Kosarev 86803008ea [MIR] Provide location of extra instruction operand when diagnosing it.
Also resolves misspelled FileCheck directives caught with D125604.

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D125965
2022-05-20 05:56:25 +01:00

14 lines
324 B
YAML

# RUN: not llc -march=amdgcn -run-pass=none -o /dev/null %s 2>&1 | \
# RUN: FileCheck --strict-whitespace %s
---
name: extra_imm_operand
body: |
bb.0:
; CHECK: [[@LINE+3]]:17: too many operands for instruction
; CHECK-NEXT: {{^}} S_ENDPGM 0, 0
; CHECK-NEXT: {{^}} ^
S_ENDPGM 0, 0
...