mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 00:33:15 +00:00
Rename a variable to avoid shadowing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104234 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
26c1e56f13
commit
24a7c30822
@ -2870,8 +2870,9 @@ void LSRInstance::NarrowSearchSpaceUsingHeuristics() {
|
||||
|
||||
for (size_t LUIdx = 0, NumUses = Uses.size(); LUIdx != NumUses; ++LUIdx) {
|
||||
LSRUse &LU = Uses[LUIdx];
|
||||
for (size_t i = 0, e = LU.Formulae.size(); i != e; ++i) {
|
||||
Formula &F = LU.Formulae[i];
|
||||
for (size_t FIdx = 0, NumForms = LU.Formulae.size();
|
||||
FIdx != NumForms; ++FIdx) {
|
||||
Formula &F = LU.Formulae[FIdx];
|
||||
if (F.AM.BaseOffs != 0 && F.AM.Scale == 0) {
|
||||
if (LSRUse *LUThatHas = FindUseWithSimilarFormula(F, LU)) {
|
||||
if (reconcileNewOffset(*LUThatHas, F.AM.BaseOffs,
|
||||
|
Loading…
x
Reference in New Issue
Block a user