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 | 8f4078ba391a091b7eb119db1865848c5c95a7b2 (patch) | |
| tree | e4ff863e668914aad9fd4f0c6c50ead7e2b9135b /llvm/lib/Transforms/Scalar/LoopRotation.cpp | |
| parent | e155f8646c26401d2b723babc4e2358f11c18a1f (diff) | |
| download | bcm5719-llvm-8f4078ba391a091b7eb119db1865848c5c95a7b2.tar.gz bcm5719-llvm-8f4078ba391a091b7eb119db1865848c5c95a7b2.zip | |
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.
llvm-svn: 85019
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopRotation.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopRotation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopRotation.cpp b/llvm/lib/Transforms/Scalar/LoopRotation.cpp index c8cbad479a3..6e0f67b6729 100644 --- a/llvm/lib/Transforms/Scalar/LoopRotation.cpp +++ b/llvm/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()); |

