1 # RUN: not --crash llc -o - -mtriple=arm64 -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2 # REQUIRES: aarch64-registered-target
5 tracksRegLiveness: true
9 %0:_(s32) = G_CONSTANT i32 0
10 %1:_(<2 x s32>) = G_IMPLICIT_DEF
11 %2:_(<vscale x 2 x s32>) = G_IMPLICIT_DEF
13 ; CHECK: Destination type must be a scalable vector
14 %3:_(s32) = G_SPLAT_VECTOR %0
16 ; CHECK: Destination type must be a scalable vector
17 %4:_(<2 x s32>) = G_SPLAT_VECTOR %0
19 ; CHECK: Source type must be a scalar
20 %5:_(<vscale x 2 x s32>) = G_SPLAT_VECTOR %1
22 ; CHECK: Source type must be a scalar
23 %6:_(<vscale x 2 x s32>) = G_SPLAT_VECTOR %2
25 ; CHECK: Element type of the destination must be the same size or smaller than the source type
26 %7:_(<vscale x 2 x s128>) = G_SPLAT_VECTOR %0