30 lines · plain
1# RUN: not --crash llc -verify-machineinstrs -mtriple=arm64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name: g_step_vector6body: |7 bb.0:8 9 %0:_(s32) = G_CONSTANT i32 410 11 ; CHECK: operand must be cimm12 %1:_(s32) = G_STEP_VECTOR %013 14 ; CHECK: step must be > 015 %2:_(s32) = G_STEP_VECTOR i32 -116 17 ; CHECK: Destination type must be a scalable vector18 %3:_(<4 x s64>) = G_STEP_VECTOR i32 519 20 ; CHECK: Destination element type must be scalar21 %4:_(<vscale x 4 x p0>) = G_STEP_VECTOR i32 922 23 ; CHECK: step bitwidth differs from result type element bitwidth24 %6:_(<vscale x 2 x s33>) = G_STEP_VECTOR i32 5625 26 %7:_(<vscale x 2 x s128>) = G_STEP_VECTOR i128 7927 28...29 30