1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin11 -mcpu=core2 -mattr=+mmx,+sse2 | FileCheck %s
5 @g_v1di = external global <1 x i64>
7 define void @t1() nounwind {
9 ; CHECK: ## %bb.0: ## %entry
10 ; CHECK-NEXT: pushq %rax
11 ; CHECK-NEXT: callq _return_v1di
12 ; CHECK-NEXT: movq _g_v1di@GOTPCREL(%rip), %rcx
13 ; CHECK-NEXT: movq %rax, (%rcx)
14 ; CHECK-NEXT: popq %rax
17 %call = call <1 x i64> @return_v1di() ; <<1 x i64>> [#uses=0]
18 store <1 x i64> %call, ptr @g_v1di
22 declare <1 x i64> @return_v1di()
24 define <1 x i64> @t2() nounwind {
27 ; CHECK-NEXT: movl $1, %eax
32 define <2 x i32> @t3() nounwind {
35 ; CHECK-NEXT: movss {{.*#+}} xmm0 = [1,0,0,0]
37 ret <2 x i32> <i32 1, i32 0>
40 define double @t4() nounwind {
43 ; CHECK-NEXT: movsd {{.*#+}} xmm0 = [1,0,0,0]
45 ret double bitcast (<2 x i32> <i32 1, i32 0> to double)