Previously this would just assert which was annoying and didn't point to the specific instruction/operand.
13 lines
277 B
YAML
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
|
|
|
|
...
|