diff options
Diffstat (limited to 'test/CodeGen/AArch64/arm64-frame-index.ll')
-rw-r--r-- | test/CodeGen/AArch64/arm64-frame-index.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/AArch64/arm64-frame-index.ll b/test/CodeGen/AArch64/arm64-frame-index.ll new file mode 100644 index 0000000..4a91ff3 --- /dev/null +++ b/test/CodeGen/AArch64/arm64-frame-index.ll @@ -0,0 +1,11 @@ +; RUN: llc -march=arm64 -mtriple=arm64-apple-ios < %s | FileCheck %s +; rdar://11935841 + +define void @t1() nounwind ssp { +entry: +; CHECK-LABEL: t1: +; CHECK-NOT: add x{{[0-9]+}}, sp +; CHECK: stp x28, x27, [sp, #-16]! + %v = alloca [288 x i32], align 4 + unreachable +} |