[ARM] Enable shrink-wrapping by default.
[oota-llvm.git] / test / CodeGen / ARM / large-stack.ll
1 ; RUN: llc -mtriple=arm-eabi %s -o /dev/null
2
3 define void @test1() {
4     %tmp = alloca [ 64 x i32 ] , align 4
5     ret void
6 }
7
8 define void @test2() {
9     %tmp = alloca [ 4168 x i8 ] , align 4
10     ret void
11 }
12
13 define i32 @test3() {
14         %retval = alloca i32, align 4
15         %tmp = alloca i32, align 4
16         %a = alloca [805306369 x i8], align 16
17         store i32 0, i32* %tmp
18         %tmp1 = load i32, i32* %tmp
19         ret i32 %tmp1
20 }