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