mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix an index calculation thinko.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112337 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd7fd940c3
commit
5bb307d5c8
@ -1430,7 +1430,7 @@ const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
|
||||
return Mul;
|
||||
Ops[i] = Mul;
|
||||
Ops.erase(Ops.begin()+i+1, Ops.begin()+i+Count);
|
||||
i -= Count - 1; e -= Count - 1;
|
||||
--i; e -= Count - 1;
|
||||
FoundMatch = true;
|
||||
}
|
||||
if (FoundMatch)
|
||||
|
Loading…
Reference in New Issue
Block a user