Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit d7f93b3

Browse files
committed
Fix SCEV r256338.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256344 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 32b3dea commit d7f93b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Analysis/ScalarEvolution.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9453,8 +9453,8 @@ getLoopBackedgeTakenCounts(Loop *L, VerifyMap &Map, ScalarEvolution &SE) {
94539453
replaceSubString(OS.str(), "<nuw>", "");
94549454
}
94559455

9456-
for (auto *L : reverse(*L))
9457-
getLoopBackedgeTakenCounts(L, Map, SE); // recurse.
9456+
for (auto *R : reverse(*L))
9457+
getLoopBackedgeTakenCounts(R, Map, SE); // recurse.
94589458
}
94599459

94609460
void ScalarEvolution::verify() const {

0 commit comments

Comments
 (0)