X86: Match pmin/pmax as a target specific dag combine. This occurs during vectorization.
[oota-llvm.git] / test / CodeGen / X86 / 2008-06-18-BadShuffle.ll
1 ; RUN: llc < %s -march=x86 -mcpu=i386 -mattr=+sse2 | grep pinsrw
2
3 ; Test to make sure we actually insert the bottom element of the vector
4 define <8 x i16> @a(<8 x i16> %a) nounwind  {
5 entry:
6         shufflevector <8 x i16> %a, <8 x i16> zeroinitializer, <8 x i32> < i32 0, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8, i32 8 >
7         %add = add <8 x i16> %0, %a
8         ret <8 x i16> %add
9 }
10