mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user