Fix typos in comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112286 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2010-08-27 20:32:56 +00:00
parent f9d05ab007
commit fc2fb17fb7

View 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);