1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

[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 057ba18026
commit bfd831d3f2

View File

@ -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