2013-10-08 14:06:57 +08:00
|
|
|
; RUN: llc < %s -mtriple=x86_64-linux -mattr=-avx | FileCheck %s
|
|
|
|
; RUN: llc < %s -mtriple=x86_64-win32 -mattr=-avx | FileCheck %s
|
2011-03-16 21:53:07 +08:00
|
|
|
; CHECK-NOT: xor
|
2011-06-22 01:35:13 +08:00
|
|
|
; CHECK: movd {{%rdi|%rcx}}, %xmm0
|
2011-03-16 21:53:07 +08:00
|
|
|
; CHECK-NOT: xor
|
2008-04-10 13:13:43 +08:00
|
|
|
; PR2108
|
|
|
|
|
|
|
|
define <2 x i64> @doload64(i64 %x) nounwind {
|
|
|
|
entry:
|
|
|
|
%tmp717 = bitcast i64 %x to double ; <double> [#uses=1]
|
|
|
|
%tmp8 = insertelement <2 x double> undef, double %tmp717, i32 0 ; <<2 x double>> [#uses=1]
|
|
|
|
%tmp9 = insertelement <2 x double> %tmp8, double 0.000000e+00, i32 1 ; <<2 x double>> [#uses=1]
|
|
|
|
%tmp11 = bitcast <2 x double> %tmp9 to <2 x i64> ; <<2 x i64>> [#uses=1]
|
|
|
|
ret <2 x i64> %tmp11
|
|
|
|
}
|
|
|
|
|