diff options
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r-- | llvm/lib/Analysis/LoopInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/LoopInfo.cpp b/llvm/lib/Analysis/LoopInfo.cpp index 9a9063b3d4e..3dc29b40834 100644 --- a/llvm/lib/Analysis/LoopInfo.cpp +++ b/llvm/lib/Analysis/LoopInfo.cpp @@ -370,7 +370,7 @@ BranchInst *Loop::getLoopGuardBranch() const { "Expecting a loop with valid preheader and latch"); // Loop should be in rotate form. - if (!isRotated()) + if (!isRotatedForm()) return nullptr; // Disallow loops with more than one unique exit block, as we do not verify |