1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i686-linux -mattr=+sse2 | FileCheck %s
4 define <2 x i64> @t1(<2 x i64>* %ptr) nounwind {
7 ; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax
8 ; CHECK-NEXT: movsd {{.*#+}} xmm0 = mem[0],zero
10 %tmp45 = bitcast <2 x i64>* %ptr to <2 x i32>*
11 %tmp615 = load <2 x i32>, <2 x i32>* %tmp45
12 %tmp7 = bitcast <2 x i32> %tmp615 to i64
13 %tmp8 = insertelement <2 x i64> zeroinitializer, i64 %tmp7, i32 0
17 define <2 x i64> @t2(i64 %x) nounwind {
20 ; CHECK-NEXT: movsd {{.*#+}} xmm0 = mem[0],zero
22 %tmp717 = bitcast i64 %x to double
23 %tmp8 = insertelement <2 x double> undef, double %tmp717, i32 0
24 %tmp9 = insertelement <2 x double> %tmp8, double 0.000000e+00, i32 1
25 %tmp11 = bitcast <2 x double> %tmp9 to <2 x i64>