compilation issue, NFC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246983 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Elena Demikhovsky 2015-09-08 07:34:06 +00:00
parent 758b9df87a
commit 27828d7a5e

View File

@ -4732,9 +4732,9 @@ static bool getTargetShuffleMask(SDNode *N, MVT VT,
if (MaskNode->getOpcode() == ISD::BUILD_VECTOR) { if (MaskNode->getOpcode() == ISD::BUILD_VECTOR) {
// If we have a build-vector, then things are easy. // If we have a build-vector, then things are easy.
EVT MaskVT = MaskNode.getValueType(); assert(MaskNode.getValueType().isInteger() &&
assert(MaskVT.isInteger() && MaskNode.getValueType().getVectorNumElements() ==
MaskVT.getVectorNumElements() == VT.getVectorNumElements()); VT.getVectorNumElements());
SmallVector<uint64_t, 32> RawMask; SmallVector<uint64_t, 32> RawMask;
unsigned MaskLoBits = Log2_64(VT.getVectorNumElements()*2); unsigned MaskLoBits = Log2_64(VT.getVectorNumElements()*2);