mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 06:03:52 +00:00
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:
parent
758b9df87a
commit
27828d7a5e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user