]> granicus.if.org Git - llvm/commitdiff
[LazyValueInfo] Fix typo in comment. NFC
authorCraig Topper <craig.topper@gmail.com>
Fri, 28 Apr 2017 16:57:59 +0000 (16:57 +0000)
committerCraig Topper <craig.topper@gmail.com>
Fri, 28 Apr 2017 16:57:59 +0000 (16:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301655 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/LazyValueInfo.cpp

index ad01f7f2f2158e07b9dd12cf314f1de3b38e94f0..a98383eaf4aa0f896c7afe8f3430f0351f47c8f0 100644 (file)
@@ -920,7 +920,7 @@ bool LazyValueInfoImpl::solveBlockValueNonLocal(LVILatticeVal &BBLV,
   // 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))) {