[llvm-commits] [llvm] r112286 - /llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp

Owen Anderson resistor at mac.com
Fri Aug 27 13:32:56 PDT 2010


Author: resistor
Date: Fri Aug 27 15:32:56 2010
New Revision: 112286

URL: http://llvm.org/viewvc/llvm-project?rev=112286&view=rev
Log:
Fix typos in comments.

Modified:
    llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp?rev=112286&r1=112285&r2=112286&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/JumpThreading.cpp Fri Aug 27 15:32:56 2010
@@ -671,7 +671,7 @@
     }
     
     // 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 @@
           ++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);





More information about the llvm-commits mailing list