2011-03-16 21:53:07 +08:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=x86_64-win32 | FileCheck %s
|
|
|
|
; CHECK-NOT: movsd
|
2011-06-22 01:35:13 +08:00
|
|
|
; CHECK: movd {{%rdi|%rcx}}, %xmm0
|
2011-03-16 21:53:07 +08:00
|
|
|
; CHECK-NOT: movsd
|
2007-12-30 03:31:47 +08:00
|
|
|
|
|
|
|
define <2 x i64> @test(i64 %i) nounwind {
|
|
|
|
entry:
|
|
|
|
%tmp10 = insertelement <2 x i64> undef, i64 %i, i32 0
|
|
|
|
%tmp11 = insertelement <2 x i64> %tmp10, i64 0, i32 1
|
|
|
|
ret <2 x i64> %tmp11
|
|
|
|
}
|
|
|
|
|