blob: 0bd97c23e87bb03adb24eef46a6bf3f2fe82d364 [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
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}