Fix typos in comments.
authorOwen Anderson <resistor@mac.com>
Fri, 27 Aug 2010 20:32:56 +0000 (20:32 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 27 Aug 2010 20:32:56 +0000 (20:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112286 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/JumpThreading.cpp

index 3d4db285daa675b0230587b274434001117f1f89..c0b0cbebdea6405938e46e17df59b06e61ef5af0 100644 (file)
@@ -671,7 +671,7 @@ bool JumpThreading::ProcessBlock(BasicBlock *BB) {
     }
     
     // For a comparison where the LHS is outside this block, it's possible
-    // that we've branch on it before.  Used LVI to see if we can simplify
+    // that we've branched on it before.  Used LVI to see if we can simplify
     // the branch based on that.
     BranchInst *CondBr = dyn_cast<BranchInst>(BB->getTerminator());
     Constant *CondConst = dyn_cast<Constant>(CondCmp->getOperand(1));
@@ -694,7 +694,7 @@ bool JumpThreading::ProcessBlock(BasicBlock *BB) {
           ++Falses;
       }
       
-      // If we can determine the branch direction statically, converted
+      // If we can determine the branch direction statically, convert
       // the conditional branch to an unconditional one.
       if (Trues && Trues == predcount) {
         RemovePredecessorAndSimplify(CondBr->getSuccessor(1), BB, TD);