mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
[X86][SSE] Use range loop. NFCI.
llvm-svn: 267349
This commit is contained in:
parent
043de2291d
commit
81b1ce90a3
@ -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
Block a user