mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +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:
@@ -1430,7 +1430,7 @@ const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
|
|||||||
return Mul;
|
return Mul;
|
||||||
Ops[i] = Mul;
|
Ops[i] = Mul;
|
||||||
Ops.erase(Ops.begin()+i+1, Ops.begin()+i+Count);
|
Ops.erase(Ops.begin()+i+1, Ops.begin()+i+Count);
|
||||||
i -= Count - 1; e -= Count - 1;
|
--i; e -= Count - 1;
|
||||||
FoundMatch = true;
|
FoundMatch = true;
|
||||||
}
|
}
|
||||||
if (FoundMatch)
|
if (FoundMatch)
|
||||||
|
Reference in New Issue
Block a user