blob: 66056d0add9ccc349e07d00b695a510197888b54 [file] [log] [blame]
NAKAMURA Takumibfc4c982011-03-16 13:53:07 +00001; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
2; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
3; CHECK-NOT: movsd
Bob Wilson38c89262011-06-21 17:35:13 +00004; CHECK: movd {{%rdi|%rcx}}, %xmm0
NAKAMURA Takumibfc4c982011-03-16 13:53:07 +00005; CHECK-NOT: movsd
Chris Lattner03c079d2007-12-29 19:31:47 +00006
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