mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Clean up comment; NFC
llvm-svn: 268835
This commit is contained in:
parent
d8f828a34c
commit
dff69bed0a
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user