blob: 686ed9c74dde12f10db7de0f8306155b0f102b5d [file] [log] [blame]
Evan Cheng255f20f2010-04-01 06:04:33 +00001; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s
Evan Cheng29286502008-01-23 23:17:41 +00002
Dan Gohman707e0182008-04-12 04:36:06 +00003 %struct.S = type { <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
Evan Cheng255f20f2010-04-01 06:04:33 +00004 <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>,
Dan Gohman707e0182008-04-12 04:36:06 +00005 <2 x i64> }
Evan Cheng29286502008-01-23 23:17:41 +00006
7define i32 @main() nounwind {
8entry:
Evan Cheng255f20f2010-04-01 06:04:33 +00009; CHECK: main:
10; CHECK: movl $1, (%esp)
11; CHECK: leal 16(%esp), %edi
12; CHECK: movl $36, %ecx
13; CHECK: leal 160(%esp), %esi
14; CHECK: rep;movsl
Evan Cheng29286502008-01-23 23:17:41 +000015 %s = alloca %struct.S ; <%struct.S*> [#uses=2]
16 %tmp15 = getelementptr %struct.S* %s, i32 0, i32 0 ; <<2 x i64>*> [#uses=1]
17 store <2 x i64> < i64 8589934595, i64 1 >, <2 x i64>* %tmp15, align 16
18 call void @t( i32 1, %struct.S* byval %s ) nounwind
19 ret i32 0
20}
21
22declare void @t(i32, %struct.S* byval )