1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | FileCheck %s
3
4	%struct.S = type { <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
5                           <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
6                           <2 x i64> }
7
8define i32 @main() nounwind  {
9; CHECK-LABEL: main:
10; CHECK:       # %bb.0: # %entry
11; CHECK-NEXT:    pushl %ebp
12; CHECK-NEXT:    movl %esp, %ebp
13; CHECK-NEXT:    pushl %edi
14; CHECK-NEXT:    pushl %esi
15; CHECK-NEXT:    andl $-16, %esp
16; CHECK-NEXT:    subl $304, %esp # imm = 0x130
17; CHECK-NEXT:    movaps {{.*#+}} xmm0 = [3,2,1,0]
18; CHECK-NEXT:    movaps %xmm0, {{[0-9]+}}(%esp)
19; CHECK-NEXT:    leal {{[0-9]+}}(%esp), %edi
20; CHECK-NEXT:    leal {{[0-9]+}}(%esp), %esi
21; CHECK-NEXT:    movl $36, %ecx
22; CHECK-NEXT:    rep;movsl (%esi), %es:(%edi)
23; CHECK-NEXT:    movl $1, (%esp)
24; CHECK-NEXT:    calll t
25; CHECK-NEXT:    xorl %eax, %eax
26; CHECK-NEXT:    leal -8(%ebp), %esp
27; CHECK-NEXT:    popl %esi
28; CHECK-NEXT:    popl %edi
29; CHECK-NEXT:    popl %ebp
30; CHECK-NEXT:    retl
31entry:
32	%s = alloca %struct.S		; <%struct.S*> [#uses=2]
33	%tmp15 = getelementptr %struct.S, %struct.S* %s, i32 0, i32 0		; <<2 x i64>*> [#uses=1]
34	store <2 x i64> < i64 8589934595, i64 1 >, <2 x i64>* %tmp15, align 16
35	call void @t( i32 1, %struct.S* byval(%struct.S) %s) nounwind
36	ret i32 0
37}
38
39declare void @t(i32, %struct.S* byval(%struct.S))
40