rename test
[oota-llvm.git] / test / CodeGen / X86 / alloca-align-rounding.ll
1 ; RUN: llc < %s -march=x86-64 -mtriple=i686-pc-linux | grep and | count 1
2
3 declare void @bar(<2 x i64>* %n)
4
5 define void @foo(i64 %h) {
6   %p = alloca <2 x i64>, i64 %h
7   call void @bar(<2 x i64>* %p)
8   ret void
9 }
10
11 define void @foo2(i64 %h) {
12   %p = alloca <2 x i64>, i64 %h, align 32
13   call void @bar(<2 x i64>* %p)
14   ret void
15 }