Pass AVX vectors which are arguments to varargs functions on the stack. <rdar://probl...
[oota-llvm.git] / test / CodeGen / X86 / alloca-align-rounding-32.ll
1 ; RUN: llc < %s -march=x86 -mtriple=i686-apple-darwin | grep and | count 1
2
3 declare void @bar(<2 x i64>* %n)
4
5 define void @foo(i32 %h) {
6   %p = alloca <2 x i64>, i32 %h
7   call void @bar(<2 x i64>* %p)
8   ret void
9 }
10
11 define void @foo2(i32 %h) {
12   %p = alloca <2 x i64>, i32 %h, align 32
13   call void @bar(<2 x i64>* %p)
14   ret void
15 }