blob: 77a8ccc03d26f5ece7234ce2a2a0a1c819d0a34c [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
Dan Gohmanef709392008-08-28 21:01:56 +00002; RUN: llvm-as < %s | llc -march=x86-64 -mtriple=i686-pc-linux | grep and | count 1
Evan Chenga6a4ca42008-08-29 22:59:13 +00003; XFAIL: *
Dan Gohmanf17a25c2007-07-18 16:29:46 +00004
5declare void @bar(<2 x i64>* %n)
6
7define void @foo(i32 %h) {
8 %p = alloca <2 x i64>, i32 %h
9 call void @bar(<2 x i64>* %p)
10 ret void
11}
Evan Cheng86db2052007-08-16 23:51:28 +000012
13define 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}