1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-- -mcpu=yonah | FileCheck %s
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>,
8 define i32 @main() nounwind {
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@PLT
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
32 %s = alloca %struct.S ; <ptr> [#uses=2]
33 %tmp15 = getelementptr %struct.S, ptr %s, i32 0, i32 0 ; <ptr> [#uses=1]
34 store <2 x i64> < i64 8589934595, i64 1 >, ptr %tmp15, align 16
35 call void @t( i32 1, ptr byval(%struct.S) %s) nounwind
39 declare void @t(i32, ptr byval(%struct.S))