Skip to content

Commit a0458da

Browse files
committed
Revert variable name changes
1 parent 8822d54 commit a0458da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Transforms/Scalar/LoopInterchange.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -508,11 +508,11 @@ struct LoopInterchange {
508508
// and do interchange based on a bubble-sort fasion. We start from
509509
// the innermost loop, move it outwards to the best possible position
510510
// and repeat this process.
511-
for (unsigned J = SelecLoopId; J > 0; J--) {
511+
for (unsigned j = SelecLoopId; j > 0; j--) {
512512
bool ChangedPerIter = false;
513-
for (unsigned I = SelecLoopId; I > SelecLoopId - J; I--) {
513+
for (unsigned i = SelecLoopId; i > SelecLoopId - j; i--) {
514514
bool Interchanged =
515-
processLoop(LoopList, I, I - 1, DependencyMatrix, CostMap);
515+
processLoop(LoopList, i, i - 1, DependencyMatrix, CostMap);
516516
ChangedPerIter |= Interchanged;
517517
Changed |= Interchanged;
518518
}

0 commit comments

Comments
 (0)