blob: 0da93bad04e102fb836396e26b3955cd2e7aeb45 [file] [log] [blame]
Dan Gohman0a063102009-09-08 23:54:48 +00001; RUN: llc < %s -march=x86 -mcpu=yonah | egrep {add|lea} | 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 )