The AVX1-only limit is never actually required in matchUnaryVectorShuffle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291244
91177308-0d34-0410-b5e6-
96231b3b80d8
unsigned &Shuffle, MVT &SrcVT, MVT &DstVT) {
unsigned NumMaskElts = Mask.size();
unsigned MaskEltSize = MaskVT.getScalarSizeInBits();
- bool FloatDomain = MaskVT.isFloatingPoint() ||
- (!Subtarget.hasAVX2() && MaskVT.is256BitVector());
+ bool FloatDomain = MaskVT.isFloatingPoint();
// Match against a VZEXT_MOVL instruction, SSE1 only supports 32-bits (MOVSS).
if (((MaskEltSize == 32) || (MaskEltSize == 64 && Subtarget.hasSSE2())) &&