brintos

brintos / llvm-project-archived public Read only

0
0
Text · 957 B · 04609ac Raw
30 lines · plain
1# RUN: not --crash llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 -run-pass=none -filetype=null %s 2>&1 | FileCheck %s2 3---4name: invalid_reg_sequence5tracksRegLiveness: true6body:             |7  bb.0:8    ; CHECK:   *** Bad machine code: Too few operands ***9    IMPLICIT_DEF10 11    ; FIXME: Error message misleading12    ; CHECK: *** Bad machine code: Explicit definition must be a register ***13    IMPLICIT_DEF 014 15    ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***16    %1:vgpr_32 = IMPLICIT_DEF 017 18    ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***19    ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***20    %2:vgpr_32 = IMPLICIT_DEF 0, 121 22    ; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***23    %3:vgpr_32 = IMPLICIT_DEF %124 25    ; CHECK-NOT: Bad machine code26    %4:vgpr_32 = IMPLICIT_DEF implicit %127...28 29 30