[FastISel][AArch64 and X86] Don't emit stores for UNDEF arguments during function...
[oota-llvm.git] / test / CodeGen / X86 / vec_shuffle-28.ll
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 }