[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:
Craig Topper 2015-10-31 18:14:17 +00:00
parent 0fec4d8ce7
commit 476be8f94a
1 changed files with 2 additions and 2 deletions

View File

@ -20324,11 +20324,11 @@ X86TargetLowering::isShuffleMaskLegal(const SmallVectorImpl<int> &M,
return false; return false;
// Not for i1 vectors // Not for i1 vectors
if (VT.getScalarType() == MVT::i1) if (VT.getSimpleVT().getScalarType() == MVT::i1)
return false; return false;
// Very little shuffling can be done for 64-bit vectors right now. // Very little shuffling can be done for 64-bit vectors right now.
if (VT.getSizeInBits() == 64) if (VT.getSimpleVT().getSizeInBits() == 64)
return false; return false;
// We only care that the types being shuffled are legal. The lowering can // We only care that the types being shuffled are legal. The lowering can