42 lines · plain
1# RUN: not --crash llc -o - -mtriple=arm64 -global-isel -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3---4name: g_build_vector5tracksRegLiveness: true6liveins:7body: |8 bb.0:9 %0:_(s32) = IMPLICIT_DEF10 11 ; CHECK: Bad machine code: G_BUILD_VECTOR must produce a vector from scalar operands12 %1:_(s32) = G_BUILD_VECTOR %013 14 %2:_(<2 x s32>) = IMPLICIT_DEF15 16 ; CHECK: Bad machine code: G_BUILD_VECTOR must produce a vector from scalar operands17 %3:_(<2 x s32>) = G_BUILD_VECTOR %218 19 ; CHECK: Bad machine code: G_BUILD_VECTOR must have an operand for each element20 %4:_(<2 x s32>) = G_BUILD_VECTOR %0, %0, %0, %021 22 ; CHECK: Bad machine code: G_BUILD_VECTOR result element type must match source type23 ; CHECK: Bad machine code: G_BUILD_VECTOR must have an operand for each element24 %5:_(<4 x s16>) = G_BUILD_VECTOR %0, %025 26 %6:_(s16) = IMPLICIT_DEF27 28 ; CHECK: Bad machine code: G_BUILD_VECTOR result element type must match source type29 ; CHECK: Bad machine code: G_BUILD_VECTOR must have an operand for each element30 %7:_(<2 x s32>) = G_BUILD_VECTOR %6, %6, %6, %631 32 %8:_(p0) = IMPLICIT_DEF33 34 ; CHECK: Bad machine code: G_BUILD_VECTOR result element type must match source type35 %9:_(<2 x s64>) = G_BUILD_VECTOR %8, %836 37 %10:_(s64) = IMPLICIT_DEF38 39 ; CHECK: Bad machine code: G_BUILD_VECTOR result element type must match source type40 %11:_(<2 x p0>) = G_BUILD_VECTOR %10, %1041...42