[x86] Make the single-input v8i16 lowering directly recurse rather than
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index 6866be74fa04c3ee0fd5d5fcf77f1a405325994b..1bc68f3eaf771c2944dbbc7083c894f0d4e27c92 100644 (file)
@@ -7859,8 +7859,8 @@ static SDValue lowerV8I16GeneralSingleInputVectorShuffle(
 
     // Recurse back into this routine to re-compute state now that this isn't
     // a 3 and 1 problem.
-    return DAG.getVectorShuffle(MVT::v8i16, DL, V, DAG.getUNDEF(MVT::v8i16),
-                                Mask);
+    return lowerV8I16GeneralSingleInputVectorShuffle(DL, V, Mask, Subtarget,
+                                                     DAG);
   };
   if ((NumLToL == 3 && NumHToL == 1) || (NumLToL == 1 && NumHToL == 3))
     return balanceSides(LToLInputs, HToLInputs, HToHInputs, LToHInputs, 0, 4);