Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 -mcpu=pentium-m  | FileCheck %s
      2 
      3 define <4 x float> @t1(<4 x float> %a) nounwind  {
      4 ; CHECK: movlhps
      5   %tmp1 = shufflevector <4 x float> %a, <4 x float> undef, <4 x i32> < i32 0, i32 1, i32 0, i32 1 >       ; <<4 x float>> [#uses=1]
      6   ret <4 x float> %tmp1
      7 }
      8 
      9 define <4 x i32> @t2(<4 x i32>* %a) nounwind {
     10 ; CHECK: pshufd
     11 ; CHECK: ret
     12   %tmp1 = load <4 x i32>* %a
     13 	%tmp2 = shufflevector <4 x i32> %tmp1, <4 x i32> undef, <4 x i32> < i32 0, i32 1, i32 0, i32 1 >		; <<4 x i32>> [#uses=1]
     14 	ret <4 x i32> %tmp2
     15 }
     16