forked from OSchip/llvm-project
parent
efea6dbc6c
commit
7c25ef92a3
|
@ -4730,9 +4730,8 @@ static bool getTargetShuffleMaskIndices(SDValue MaskNode,
|
||||||
if ((VT.getScalarSizeInBits() % MaskEltSizeInBits) != 0)
|
if ((VT.getScalarSizeInBits() % MaskEltSizeInBits) != 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
for (int i = 0, e = MaskNode.getNumOperands(); i < e; ++i) {
|
for (SDValue Op : MaskNode->ops()) {
|
||||||
SDValue Op = MaskNode.getOperand(i);
|
if (Op.isUndef()) {
|
||||||
if (Op->isUndef()) {
|
|
||||||
RawMask.push_back((uint64_t)SM_SentinelUndef);
|
RawMask.push_back((uint64_t)SM_SentinelUndef);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue