1 ; RUN: llc < %s -mcpu=arm1156t2-s -mattr=+thumb2 -mtriple=thumb-apple-darwin \
2 ; RUN: | FileCheck %s -check-prefix=DARWIN
3 ; RUN: llc < %s -mcpu=arm1156t2-s -mattr=+thumb2 -mtriple=thumb-linux-gnueabi \
4 ; RUN: | FileCheck %s -check-prefix=LINUX
11 %tmp = alloca [ 64 x i32 ] , align 4
15 define void @test2() {
16 ; DARWIN-LABEL: test2:
17 ; DARWIN: sub.w sp, sp, #4160
20 ; LINUX: sub.w sp, sp, #4160
22 %tmp = alloca [ 4168 x i8 ] , align 4
27 ; DARWIN-LABEL: test3:
28 ; DARWIN: push {r4, r7, lr}
29 ; DARWIN: sub.w sp, sp, #805306368
32 ; LINUX: push {r4, r6, r7, lr}
33 ; LINUX: sub.w sp, sp, #805306368
35 %retval = alloca i32, align 4
36 %tmp = alloca i32, align 4
37 %a = alloca [805306369 x i8], align 16
39 %tmp1 = load i32, ptr %tmp