1 ; RUN: llc -o - %s | FileCheck %s
4 @glob = external global ptr
6 declare void @bar(ptr, ptr byval([20000 x i8]))
9 ; We should see the stack getting additional alignment
10 ; CHECK: sub sp, sp, #16
11 ; CHECK: bic sp, sp, #31
12 ; And a base pointer getting used.
14 ; Which is passed to the call
17 define void @foo(ptr %addr) {
18 %tmp = alloca [4 x i32], align 32
19 call void @bar(ptr %tmp, ptr byval([20000 x i8]) %addr)