Re-implement the main strength-reduction portion of LoopStrengthReduction.
[oota-llvm.git] / test / CodeGen / X86 / vec_set-D.ll
1 ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep movq
2
3 define <4 x i32> @t(i32 %x, i32 %y) nounwind  {
4         %tmp1 = insertelement <4 x i32> zeroinitializer, i32 %x, i32 0
5         %tmp2 = insertelement <4 x i32> %tmp1, i32 %y, i32 1
6         ret <4 x i32> %tmp2
7 }