Fix typos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112286 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/JumpThreading.cpp b/lib/Transforms/Scalar/JumpThreading.cpp
index 3d4db28..c0b0cbe 100644
--- a/lib/Transforms/Scalar/JumpThreading.cpp
+++ b/lib/Transforms/Scalar/JumpThreading.cpp
@@ -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);