OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36bb502
)
Clean up comment; NFC
author
Sanjoy Das
<sanjoy@playingwithpointers.com>
Sat, 7 May 2016 02:08:22 +0000
(
02:08
+0000)
committer
Sanjoy Das
<sanjoy@playingwithpointers.com>
Sat, 7 May 2016 02:08:22 +0000
(
02:08
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268835
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ValueTracking.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ValueTracking.cpp
b/lib/Analysis/ValueTracking.cpp
index
50205ff
..
2f31ec2
100644
(file)
--- a/
lib/Analysis/ValueTracking.cpp
+++ b/
lib/Analysis/ValueTracking.cpp
@@
-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 w
ith
nonnull metadata is never null.
if (const LoadInst *LI = dyn_cast<LoadInst>(V))
return LI->getMetadata(LLVMContext::MD_nonnull);