mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
fix typo; NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b1d136dd4f
commit
46b23a185f
@ -888,7 +888,7 @@ static bool getEdgeValueLocal(Value *Val, BasicBlock *BBFrom,
|
||||
// know that v != 0.
|
||||
if (BranchInst *BI = dyn_cast<BranchInst>(BBFrom->getTerminator())) {
|
||||
// If this is a conditional branch and only one successor goes to BBTo, then
|
||||
// we maybe able to infer something from the condition.
|
||||
// we may be able to infer something from the condition.
|
||||
if (BI->isConditional() &&
|
||||
BI->getSuccessor(0) != BI->getSuccessor(1)) {
|
||||
bool isTrueDest = BI->getSuccessor(0) == BBTo;
|
||||
|
Loading…
x
Reference in New Issue
Block a user