1
0
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:
Chris Lattner 2010-03-02 02:37:23 +00:00
parent 0b41a42411
commit 9a28d163c2

View File

@ -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));
}
}