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