[PM/LoopUnswitch] Fix comment typo. NFC.

llvm-svn: 330560
This commit is contained in:
Chandler Carruth 2018-04-23 00:48:42 +00:00
parent 004b6c6842
commit b525424118
1 changed files with 1 additions and 1 deletions

View File

@ -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();