summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Analysis/LoopInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp
index ee311c50eee..dc97340a1f6 100644
--- a/llvm/lib/Analysis/LoopInfo.cpp
+++ b/llvm/lib/Analysis/LoopInfo.cpp
@@ -631,7 +631,7 @@ LoopInfo::LoopInfo(const DominatorTreeBase<BasicBlock> &DomTree) {
}
void LoopInfo::updateUnloop(Loop *Unloop) {
- Unloop->markAsUnloop();
+ Unloop->markUnlooped();
// First handle the special case of no parent loop to simplify the algorithm.
if (!Unloop->getParentLoop()) {
OpenPOWER on IntegriCloud