xref: /llvm-project/llvm/test/CodeGen/AArch64/stack-probing-dynamic-no-frame-setup.ll (revision d0285a31c85a9931ee0d9cbb8486f313dc21ada9)
1; RUN: llc < %s --stop-after=finalize-isel -o - | FileCheck %s
2target triple = "aarch64-linux"
3
4; Check dynamic stack allocation and probing instructions do not have
5; the FrameSetup flag.
6
7; CHECK-NOT: frame-setup
8define void @no_frame_setup(i64 %size, ptr %out) #0 {
9  %v = alloca i8, i64 %size, align 1
10  store ptr %v, ptr %out, align 8
11  ret void
12}
13
14attributes #0 = { uwtable(async) "probe-stack"="inline-asm" "frame-pointer"="none" }
15