1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc < %s -mtriple=i686-linux -mattr=+sse2 | FileCheck %s 3 4define <2 x i64> @t1(<2 x i64>* %ptr) nounwind { 5; CHECK-LABEL: t1: 6; CHECK: # %bb.0: 7; CHECK-NEXT: movl {{[0-9]+}}(%esp), %eax 8; CHECK-NEXT: movsd {{.*#+}} xmm0 = mem[0],zero 9; CHECK-NEXT: retl 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 14 ret <2 x i64> %tmp8 15} 16 17define <2 x i64> @t2(i64 %x) nounwind { 18; CHECK-LABEL: t2: 19; CHECK: # %bb.0: 20; CHECK-NEXT: movsd {{.*#+}} xmm0 = mem[0],zero 21; CHECK-NEXT: retl 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> 26 ret <2 x i64> %tmp11 27} 28