Evan Cheng | 5a67b81 | 2008-01-23 23:17:41 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -march=x86 | grep add | grep 16 |
2 | |||||
3 | %struct.S = type { <2 x i64> } | ||||
4 | |||||
5 | define i32 @main() nounwind { | ||||
6 | entry: | ||||
7 | %s = alloca %struct.S ; <%struct.S*> [#uses=2] | ||||
8 | %tmp15 = getelementptr %struct.S* %s, i32 0, i32 0 ; <<2 x i64>*> [#uses=1] | ||||
9 | store <2 x i64> < i64 8589934595, i64 1 >, <2 x i64>* %tmp15, align 16 | ||||
10 | call void @t( i32 1, %struct.S* byval %s ) nounwind | ||||
11 | ret i32 0 | ||||
12 | } | ||||
13 | |||||
14 | declare void @t(i32, %struct.S* byval ) |