brintos

brintos / llvm-project-archived public Read only

0
0
Text · 681 B · a280873 Raw
26 lines · plain
1# RUN: not --crash llc -mtriple=aarch64 -o /dev/null -run-pass=none -verify-machineinstrs %s 2>&1 | FileCheck %s2# REQUIRES: aarch64-registered-target3 4---5name:            test_dyn_stackalloc6legalized:       true7tracksRegLiveness: true8body:             |9  bb.0:10    liveins: $x011    %0:_(s64) = COPY $x012    %1:_(p0) = COPY $x013    ; CHECK: Bad machine code: Too few operands14    G_DYN_STACKALLOC15 16    ; CHECK: dst operand 0 must be a pointer type17    %3:_(s64) = G_DYN_STACKALLOC %0, 418 19    ; CHECK: src operand 1 must be a scalar reg type20    %4:_(p0) = G_DYN_STACKALLOC 0, 421 22    ; CHECK: src operand 2 must be an immediate type23    %5:_(p0) = G_DYN_STACKALLOC %0, %024 25...26