Files
clang-p2996/llvm/test/CodeGen/MIR/AMDGPU/extra-reg-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
287 B
YAML

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