1 # REQUIRES: amdgpu-registered-target
2 # RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=none -o /dev/null %s 2>&1 | FileCheck %s
5 name: invalid_reg_sequence
6 tracksRegLiveness: true
9 ; CHECK: *** Bad machine code: Too few operands ***
12 ; FIXME: Error message misleading
13 ; CHECK: *** Bad machine code: Explicit definition must be a register ***
16 ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***
17 %1:vgpr_32 = IMPLICIT_DEF 0
19 ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***
20 ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***
21 %2:vgpr_32 = IMPLICIT_DEF 0, 1
23 ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***
24 %3:vgpr_32 = IMPLICIT_DEF %1
26 ; CHECK-NOT: Bad machine code
27 %4:vgpr_32 = IMPLICIT_DEF implicit %1