forked from OSchip/llvm-project
[PM/LoopUnswitch] Fix comment typo. NFC.
llvm-svn: 330560
This commit is contained in:
parent
004b6c6842
commit
b525424118
|
@ -881,7 +881,7 @@ static BasicBlock *buildClonedLoopBlocks(
|
|||
cast_or_null<BasicBlock>(VMap.lookup(ContinueSuccBB)))
|
||||
ClonedContinueSuccBB->removePredecessor(ClonedParentBB,
|
||||
/*DontDeleteUselessPHIs*/ true);
|
||||
// Replace the cloned branch with an unconditional branch to the cloneed
|
||||
// Replace the cloned branch with an unconditional branch to the cloned
|
||||
// unswitched successor.
|
||||
auto *ClonedSuccBB = cast<BasicBlock>(VMap.lookup(UnswitchedSuccBB));
|
||||
ClonedParentBB->getTerminator()->eraseFromParent();
|
||||
|
|
Loading…
Reference in New Issue