blob: f45e9b84b2640562b143a73599a349427603ca54 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; 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
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}