Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / vec_shuffle-17.ll
1 ; RUN: llc < %s -march=x86-64 | grep {movd.*%rdi, %xmm0}
2 ; RUN: llc < %s -march=x86-64 | not grep xor
3 ; PR2108
4
5 define <2 x i64> @doload64(i64 %x) nounwind  {
6 entry:
7         %tmp717 = bitcast i64 %x to double              ; <double> [#uses=1]
8         %tmp8 = insertelement <2 x double> undef, double %tmp717, i32 0         ; <<2 x double>> [#uses=1]
9         %tmp9 = insertelement <2 x double> %tmp8, double 0.000000e+00, i32 1            ; <<2 x double>> [#uses=1]
10         %tmp11 = bitcast <2 x double> %tmp9 to <2 x i64>                ; <<2 x i64>> [#uses=1]
11         ret <2 x i64> %tmp11
12 }
13