llvm-project
28 строк · 992.0 Байт
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
3
4---
5name: invalid_reg_sequence6tracksRegLiveness: true7body: |8bb.0:
9; CHECK: *** Bad machine code: Too few operands ***
10IMPLICIT_DEF
11
12; FIXME: Error message misleading13; CHECK: *** Bad machine code: Explicit definition must be a register ***14IMPLICIT_DEF 0
15
16; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***17%1:vgpr_32 = IMPLICIT_DEF 018
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, 122
23; CHECK: *** Bad machine code: Extra explicit operand on non-variadic instruction ***24%3:vgpr_32 = IMPLICIT_DEF %125
26; CHECK-NOT: Bad machine code27%4:vgpr_32 = IMPLICIT_DEF implicit %128...
29
30
31