1 # RUN: not llc -march=aarch64 -o /dev/null -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s
2 # REQUIRES: aarch64-registered-target
5 name: test_dyn_stackalloc
7 tracksRegLiveness: true
13 ; CHECK: Bad machine code: Too few operands
16 ; CHECK: dst operand 0 must be a pointer type
17 %3:_(s64) = G_DYN_STACKALLOC %0, 4
19 ; CHECK: src operand 1 must be a scalar reg type
20 %4:_(p0) = G_DYN_STACKALLOC 0, 4
22 ; CHECK: src operand 2 must be an immediate type
23 %5:_(p0) = G_DYN_STACKALLOC %0, %0