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