Evan Cheng | 255f20f | 2010-04-01 06:04:33 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 -mcpu=yonah | FileCheck %s |
Evan Cheng | 2928650 | 2008-01-23 23:17:41 +0000 | [diff] [blame] | 2 | |
Dan Gohman | 707e018 | 2008-04-12 04:36:06 +0000 | [diff] [blame] | 3 | %struct.S = type { <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>, |
Evan Cheng | 255f20f | 2010-04-01 06:04:33 +0000 | [diff] [blame] | 4 | <2 x i64>, <2 x i64>, <2 x i64>, <2 x i64>, |
Dan Gohman | 707e018 | 2008-04-12 04:36:06 +0000 | [diff] [blame] | 5 | <2 x i64> } |
Evan Cheng | 2928650 | 2008-01-23 23:17:41 +0000 | [diff] [blame] | 6 | |
| 7 | define i32 @main() nounwind { |
| 8 | entry: |
Evan Cheng | 255f20f | 2010-04-01 06:04:33 +0000 | [diff] [blame] | 9 | ; CHECK: main: |
| 10 | ; CHECK: movl $1, (%esp) |
Stuart Hastings | 03d5826 | 2011-03-10 00:25:53 +0000 | [diff] [blame] | 11 | ; CHECK: leal 16(%esp), %edi |
Stuart Hastings | 03d5826 | 2011-03-10 00:25:53 +0000 | [diff] [blame] | 12 | ; CHECK: leal 160(%esp), %esi |
| 13 | ; CHECK: rep;movsl |
Evan Cheng | 2928650 | 2008-01-23 23:17:41 +0000 | [diff] [blame] | 14 | %s = alloca %struct.S ; <%struct.S*> [#uses=2] |
| 15 | %tmp15 = getelementptr %struct.S* %s, i32 0, i32 0 ; <<2 x i64>*> [#uses=1] |
| 16 | store <2 x i64> < i64 8589934595, i64 1 >, <2 x i64>* %tmp15, align 16 |
| 17 | call void @t( i32 1, %struct.S* byval %s ) nounwind |
| 18 | ret i32 0 |
| 19 | } |
| 20 | |
| 21 | declare void @t(i32, %struct.S* byval ) |