mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Use the right induction variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6d7ad3c7d
commit
6183fbd726
@ -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…
x
Reference in New Issue
Block a user