summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-06 18:10:45 +0000
committerDan Gohman <gohman@apple.com>2010-08-06 18:10:45 +0000
commit23976df6f20da29f87e464d29885b39e027fa010 (patch)
tree9c00c5420481e9a4131c3f376670ead94970cdd8
parent8147d7a6b986c66e2d80d87291745948aa5d3c1e (diff)
downloadbcm5719-llvm-23976df6f20da29f87e464d29885b39e027fa010.tar.gz
bcm5719-llvm-23976df6f20da29f87e464d29885b39e027fa010.zip
Fix a comment.
llvm-svn: 110455
-rw-r--r--llvm/lib/Analysis/AliasAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/AliasAnalysis.cpp b/llvm/lib/Analysis/AliasAnalysis.cpp
index 16131cbc11d..6dd79b47b95 100644
--- a/llvm/lib/Analysis/AliasAnalysis.cpp
+++ b/llvm/lib/Analysis/AliasAnalysis.cpp
@@ -210,8 +210,8 @@ AliasAnalysis::getModRefInfo(const LoadInst *L, const Value *P, unsigned Size) {
AliasAnalysis::ModRefResult
AliasAnalysis::getModRefInfo(const StoreInst *S, const Value *P, unsigned Size) {
- // If the stored address cannot alias the pointer in question, then the
- // pointer cannot be modified by the store.
+ // If the store address cannot alias the pointer in question, then the
+ // specified memory cannot be modified by the store.
if (!alias(S->getOperand(1),
getTypeStoreSize(S->getOperand(0)->getType()), P, Size))
return NoModRef;
OpenPOWER on IntegriCloud