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