Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -march=x86 -mcpu=core2 | FileCheck %s
      2 
      3 ; CHECK:     pshufb
      4 ; CHECK-NOT: pshufb
      5 
      6 ; FIXME: this test has a superfluous punpcklqdq pre-pshufb currently.
      7 ;        Don't XFAIL it because it's still better than the previous code.
      8 
      9 ; Pack various elements via shuffles.
     10 define <8 x i16> @shuf1(<8 x i16> %T0, <8 x i16> %T1) nounwind readnone {
     11 entry:
     12 	%tmp7 = shufflevector <8 x i16> %T0, <8 x i16> %T1, <8 x i32> < i32 1, i32 8, i32 undef, i32 undef, i32 undef, i32 undef, i32 undef , i32 undef >
     13 	ret <8 x i16> %tmp7
     14 }
     15