summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/large-stack.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/ARM/large-stack.ll')
-rw-r--r--llvm/test/CodeGen/ARM/large-stack.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/large-stack.ll b/llvm/test/CodeGen/ARM/large-stack.ll
new file mode 100644
index 00000000000..2516522d042
--- /dev/null
+++ b/llvm/test/CodeGen/ARM/large-stack.ll
@@ -0,0 +1,12 @@
+; RUN: llvm-as < %s | llc -march=arm &&
+; RUN: llvm-as < %s | llc -march=arm -enable-thumb
+
+define void %test1() {
+ %tmp = alloca [ 64 x i32 ] , align 4
+ ret void
+}
+
+define void %test2() {
+ %tmp = alloca [ 4168 x i8 ] , align 4
+ ret void
+}
OpenPOWER on IntegriCloud