mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-04 06:09:05 +00:00
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:
parent
f9d05ab007
commit
fc2fb17fb7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user