diff options
author | Owen Anderson <resistor@mac.com> | 2010-08-27 20:32:56 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-08-27 20:32:56 +0000 |
commit | fc2fb17fb764470626f3d7ecf2fb68fe73b0d757 (patch) | |
tree | a4931a15d27cf97bfb0734a667ac4f6d94e07a08 /lib/Transforms/Scalar/JumpThreading.cpp | |
parent | f9d05ab007d4764a78e820aecfcf8de179d178a7 (diff) |
Fix typos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/JumpThreading.cpp')
-rw-r--r-- | lib/Transforms/Scalar/JumpThreading.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/JumpThreading.cpp b/lib/Transforms/Scalar/JumpThreading.cpp index 3d4db285da..c0b0cbebde 100644 --- a/lib/Transforms/Scalar/JumpThreading.cpp +++ b/lib/Transforms/Scalar/JumpThreading.cpp @@ -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); |