blob: fcbc59b838abc826d96c2ca2a74707f2346eb1ed [file] [log] [blame]
Dale Johannesen7d64b452008-02-09 19:04:25 +00001; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep add | grep 16
Evan Cheng5a67b812008-01-23 23:17:41 +00002
Dan Gohmane8b391e2008-04-12 04:36:06 +00003 %struct.S = type { <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
4 <2 x i64> }
Evan Cheng5a67b812008-01-23 23:17:41 +00005
6define i32 @main() nounwind {
7entry:
8 %s = alloca %struct.S ; <%struct.S*> [#uses=2]
9 %tmp15 = getelementptr %struct.S* %s, i32 0, i32 0 ; <<2 x i64>*> [#uses=1]
10 store <2 x i64> < i64 8589934595, i64 1 >, <2 x i64>* %tmp15, align 16
11 call void @t( i32 1, %struct.S* byval %s ) nounwind
12 ret i32 0
13}
14
15declare void @t(i32, %struct.S* byval )