1; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s
2; RUN: llc < %s -mtriple=x86_64-win32 -mattr=-avx | FileCheck %s
3; CHECK-NOT: movsd
4; CHECK: movd {{%rdi|%rcx}}, %xmm0
5; CHECK-NOT: movsd
6
7define <2 x i64> @test(i64 %i) nounwind  {
8entry:
9	%tmp10 = insertelement <2 x i64> undef, i64 %i, i32 0
10	%tmp11 = insertelement <2 x i64> %tmp10, i64 0, i32 1
11	ret <2 x i64> %tmp11
12}
13
14