[PM/LoopUnswitch] Fix comment typo. NFC.
authorChandler Carruth <chandlerc@gmail.com>
Mon, 23 Apr 2018 00:48:42 +0000 (00:48 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 23 Apr 2018 00:48:42 +0000 (00:48 +0000)
llvm-svn: 330560

llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp

index ff8e1c1..b6194d9 100644 (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();