Clean up comment; NFC

llvm-svn: 268835
This commit is contained in:
Sanjoy Das 2016-05-07 02:08:22 +00:00
parent 6082c1a39c
commit 5056e19fce
1 changed files with 1 additions and 1 deletions

View File

@ -3182,7 +3182,7 @@ bool llvm::isKnownNonNull(const Value *V, const TargetLibraryInfo *TLI) {
return !GV->hasExternalWeakLinkage() &&
GV->getType()->getAddressSpace() == 0;
// A Load tagged w/nonnull metadata is never null.
// A Load tagged with nonnull metadata is never null.
if (const LoadInst *LI = dyn_cast<LoadInst>(V))
return LI->getMetadata(LLVMContext::MD_nonnull);