[ARM] Enable shrink-wrapping by default.
[oota-llvm.git] / test / CodeGen / ARM / 2007-04-03-PEIBug.ll
1 ; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2
3 define i32 @foo() {
4 entry:
5         %A = alloca [1123 x i32], align 16              ; <[1123 x i32]*> [#uses=1]
6         %B = alloca [3123 x i32], align 16              ; <[3123 x i32]*> [#uses=1]
7         %C = alloca [12312 x i32], align 16             ; <[12312 x i32]*> [#uses=1]
8         %tmp = call i32 (...) @bar( [3123 x i32]* %B, [1123 x i32]* %A, [12312 x i32]* %C )             ; <i32> [#uses=0]
9         ret i32 undef
10 }
11
12 declare i32 @bar(...)
13
14 ; CHECK-NOT: add{{.*}}#0
15