1 # RUN: not --crash llc -verify-machineinstrs -mtriple=arm64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
2 # REQUIRES: aarch64-registered-target
9 %1:_(s32) = G_CONSTANT i32 4
11 ; CHECK: G_VSCALE operand must be cimm
12 %2:_(s32) = G_VSCALE %1
14 ; CHECK: G_VSCALE immediate cannot be zero
15 %3:_(s32) = G_VSCALE i32 0