[llvm] r231812 - fix typos; NFC

Sanjay Patel spatel at rotateright.com
Tue Mar 10 11:37:05 PDT 2015


Author: spatel
Date: Tue Mar 10 13:37:05 2015
New Revision: 231812

URL: http://llvm.org/viewvc/llvm-project?rev=231812&view=rev
Log:
fix typos; NFC

Modified:
    llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp

Modified: llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp?rev=231812&r1=231811&r2=231812&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp Tue Mar 10 13:37:05 2015
@@ -624,7 +624,7 @@ void llvm::CloneAndPruneIntoFromInst(Fun
       recursivelySimplifyInstruction(PN);
 
   // Now that the inlined function body has been fully constructed, go through
-  // and zap unconditional fall-through branches.  This happen all the time when
+  // and zap unconditional fall-through branches. This happens all the time when
   // specializing code: code specialization turns conditional branches into
   // uncond branches, and this code folds them.
   Function::iterator Begin = cast<BasicBlock>(VMap[StartingBB]);
@@ -675,7 +675,7 @@ void llvm::CloneAndPruneIntoFromInst(Fun
     // Do not increment I, iteratively merge all things this block branches to.
   }
 
-  // Make a final pass over the basic blocks from theh old function to gather
+  // Make a final pass over the basic blocks from the old function to gather
   // any return instructions which survived folding. We have to do this here
   // because we can iteratively remove and merge returns above.
   for (Function::iterator I = cast<BasicBlock>(VMap[StartingBB]),





More information about the llvm-commits mailing list