Look at the code in X86ISelLowering.cpp line 15579, when NumV2Elements == 0,
it has been handled in that scope, and will not move to the line 15612.
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D146790
lowerShuffleAsShift(DL, MVT::v4i32, V1, V2, Mask, Zeroable, Subtarget,
DAG, /*BitwiseOnly*/ false))
return Shift;
- if (!Subtarget.preferLowerShuffleAsShift() && NumV2Elements == 0)
- if (SDValue Rotate =
- lowerShuffleAsBitRotate(DL, MVT::v4i32, V1, Mask, Subtarget, DAG))
- return Rotate;
// There are special ways we can lower some single-element blends.
if (NumV2Elements == 1)