blob: 3c87dbf2bd78b2e1d8b6283bd3d4dc1f09f1b929 [file] [log] [blame]
Dan Gohman36a09472009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86-64 -mtriple=i686-pc-linux | grep and | count 1
Dan Gohman48613b92007-07-18 16:29:46 +00002
3declare void @bar(<2 x i64>* %n)
4
Dan Gohmanf75a7d32010-05-28 01:14:11 +00005define void @foo(i64 %h) {
6 %p = alloca <2 x i64>, i64 %h
Dan Gohman48613b92007-07-18 16:29:46 +00007 call void @bar(<2 x i64>* %p)
8 ret void
9}
Evan Chengcfc289d2007-08-16 23:51:28 +000010
Dan Gohmanf75a7d32010-05-28 01:14:11 +000011define void @foo2(i64 %h) {
12 %p = alloca <2 x i64>, i64 %h, align 32
Evan Chengcfc289d2007-08-16 23:51:28 +000013 call void @bar(<2 x i64>* %p)
14 ret void
15}