[llvm] r225524 - fix typo; NFC
Sanjay Patel
spatel at rotateright.com
Fri Jan 9 08:29:50 PST 2015
Author: spatel
Date: Fri Jan 9 10:29:50 2015
New Revision: 225524
URL: http://llvm.org/viewvc/llvm-project?rev=225524&view=rev
Log:
fix typo; NFC
Modified:
llvm/trunk/lib/Analysis/LazyValueInfo.cpp
Modified: llvm/trunk/lib/Analysis/LazyValueInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LazyValueInfo.cpp?rev=225524&r1=225523&r2=225524&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LazyValueInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/LazyValueInfo.cpp Fri Jan 9 10:29:50 2015
@@ -888,7 +888,7 @@ static bool getEdgeValueLocal(Value *Val
// 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;
More information about the llvm-commits
mailing list