diff options
author | Dan Gohman <gohman@apple.com> | 2009-10-24 23:34:26 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-10-24 23:34:26 +0000 |
commit | 32663b719b4996b3a735f22bba80d771d50f96e7 (patch) | |
tree | ed07e8a4db4e68ced3974534987a6a369ac0a2a2 /lib/Transforms/Scalar/LoopRotation.cpp | |
parent | a7f1d72d09f174da56217c0776dcab74998e50b9 (diff) |
Rename isLoopExit to isLoopExiting, for consistency with the wording
used elsewhere - an exit block is a block outside the loop branched to
from within the loop. An exiting block is a block inside the loop that
branches out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopRotation.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopRotation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopRotation.cpp b/lib/Transforms/Scalar/LoopRotation.cpp index c8cbad479a..6e0f67b672 100644 --- a/lib/Transforms/Scalar/LoopRotation.cpp +++ b/lib/Transforms/Scalar/LoopRotation.cpp @@ -118,7 +118,7 @@ bool LoopRotate::rotateLoop(Loop *Lp, LPPassManager &LPM) { // If the loop header is not one of the loop exiting blocks then // either this loop is already rotated or it is not // suitable for loop rotation transformations. - if (!L->isLoopExit(OrigHeader)) + if (!L->isLoopExiting(OrigHeader)) return false; BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); |