blob: af3fe905d69ebc90b0a63639271f5aa7c0c7d2c8 [file] [log] [blame]
Evan Cheng86db2052007-08-16 23:51:28 +00001; 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 3
Dan Gohmanf17a25c2007-07-18 16:29:46 +00003
4declare void @bar(<2 x i64>* %n)
5
6define void @foo(i32 %h) {
7 %p = alloca <2 x i64>, i32 %h
8 call void @bar(<2 x i64>* %p)
9 ret void
10}
Evan Cheng86db2052007-08-16 23:51:28 +000011
12define 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}