1# RUN: not --crash llc -march=aarch64 -o /dev/null -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s 2# REQUIRES: aarch64-registered-target 3 4--- 5name: test_dyn_stackalloc 6legalized: true 7tracksRegLiveness: true 8body: | 9 bb.0: 10 liveins: $x0 11 %0:_(s64) = COPY $x0 12 %1:_(p0) = COPY $x0 13 ; CHECK: Bad machine code: Too few operands 14 G_DYN_STACKALLOC 15 16 ; CHECK: dst operand 0 must be a pointer type 17 %3:_(s64) = G_DYN_STACKALLOC %0, 4 18 19 ; CHECK: src operand 1 must be a scalar reg type 20 %4:_(p0) = G_DYN_STACKALLOC 0, 4 21 22 ; CHECK: src operand 2 must be an immediate type 23 %5:_(p0) = G_DYN_STACKALLOC %0, %0 24 25... 26