1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Use for-range loop. NFCI.

llvm-svn: 362897
This commit is contained in:
Simon Pilgrim 2019-06-09 09:07:30 +00:00
parent d1dff45e07
commit 7d2803248c

View File

@ -4663,9 +4663,7 @@ bool DAGCombiner::SearchForAndLoads(SDNode *N,
SDNode *&NodeToMask) {
// Recursively search for the operands, looking for loads which can be
// narrowed.
for (unsigned i = 0, e = N->getNumOperands(); i < e; ++i) {
SDValue Op = N->getOperand(i);
for (SDValue Op : N->op_values()) {
if (Op.getValueType().isVector())
return false;