forked from OSchip/llvm-project
[X86] Convert to MVT instead of calling EVT functions since we already know the type is simple. NFC
llvm-svn: 251745
This commit is contained in:
parent
0fec4d8ce7
commit
476be8f94a
|
@ -20324,11 +20324,11 @@ X86TargetLowering::isShuffleMaskLegal(const SmallVectorImpl<int> &M,
|
|||
return false;
|
||||
|
||||
// Not for i1 vectors
|
||||
if (VT.getScalarType() == MVT::i1)
|
||||
if (VT.getSimpleVT().getScalarType() == MVT::i1)
|
||||
return false;
|
||||
|
||||
// Very little shuffling can be done for 64-bit vectors right now.
|
||||
if (VT.getSizeInBits() == 64)
|
||||
if (VT.getSimpleVT().getSizeInBits() == 64)
|
||||
return false;
|
||||
|
||||
// We only care that the types being shuffled are legal. The lowering can
|
||||
|
|
Loading…
Reference in New Issue