mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 11:10:12 +00:00
304406f01c
whether SSE is present, on Darwin anyway. Make it explicit. llvm-svn: 46909
15 lines
450 B
LLVM
15 lines
450 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah | grep add | grep 16
|
|
|
|
%struct.S = type { <2 x i64> }
|
|
|
|
define i32 @main() nounwind {
|
|
entry:
|
|
%s = alloca %struct.S ; <%struct.S*> [#uses=2]
|
|
%tmp15 = getelementptr %struct.S* %s, i32 0, i32 0 ; <<2 x i64>*> [#uses=1]
|
|
store <2 x i64> < i64 8589934595, i64 1 >, <2 x i64>* %tmp15, align 16
|
|
call void @t( i32 1, %struct.S* byval %s ) nounwind
|
|
ret i32 0
|
|
}
|
|
|
|
declare void @t(i32, %struct.S* byval )
|