[llvm] r301655 - [LazyValueInfo] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 09:58:00 PDT 2017


Author: ctopper
Date: Fri Apr 28 11:57:59 2017
New Revision: 301655

URL: http://llvm.org/viewvc/llvm-project?rev=301655&view=rev
Log:
[LazyValueInfo] Fix typo in comment. 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=301655&r1=301654&r2=301655&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LazyValueInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/LazyValueInfo.cpp Fri Apr 28 11:57:59 2017
@@ -920,7 +920,7 @@ bool LazyValueInfoImpl::solveBlockValueN
   // value is overdefined.
   if (BB == &BB->getParent()->getEntryBlock()) {
     assert(isa<Argument>(Val) && "Unknown live-in to the entry block");
-    // Bofore giving up, see if we can prove the pointer non-null local to
+    // Before giving up, see if we can prove the pointer non-null local to
     // this particular block.
     if (Val->getType()->isPointerTy() &&
         (isKnownNonNull(Val) || isObjectDereferencedInBlock(Val, BB))) {




More information about the llvm-commits mailing list