mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Use the right induction variable.
llvm-svn: 97541
This commit is contained in:
parent
0b41a42411
commit
9a28d163c2
@ -1680,8 +1680,8 @@ HandleMergeInputChains(SmallVectorImpl<SDNode*> &ChainNodesMatched,
|
||||
// that are not part of the pattern we're matching.
|
||||
for (unsigned op = 0, e = N->getNumOperands(); op != e; ++op) {
|
||||
if (!std::count(ChainNodesMatched.begin(), ChainNodesMatched.end(),
|
||||
N->getOperand(i).getNode()))
|
||||
InputChains.push_back(N->getOperand(i));
|
||||
N->getOperand(op).getNode()))
|
||||
InputChains.push_back(N->getOperand(op));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user