Files
clang-p2996/llvm/test/CodeGen/MIR/AMDGPU/extra-imm-operand.mir
Matt Arsenault 9c7ca51b2c MIR: Start diagnosing too many operands on an instruction
Previously this would just assert which was annoying and didn't point
to the specific instruction/operand.
2022-02-21 10:36:39 -05:00

13 lines
277 B
YAML

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