summaryrefslogtreecommitdiff
path: root/lib/Analysis/AliasAnalysis.cpp
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
commit9b8639c9bd98ae08d0fe3630e2d3421a9277564a (patch)
treec0926202aec866d756ad01ca1ce0139ba2229384 /lib/Analysis/AliasAnalysis.cpp
parent58e1248dd2b3d76bbc78a9cb84cd022a35e83955 (diff)
downloadllvm-9b8639c9bd98ae08d0fe3630e2d3421a9277564a.tar.gz
llvm-9b8639c9bd98ae08d0fe3630e2d3421a9277564a.tar.bz2
llvm-9b8639c9bd98ae08d0fe3630e2d3421a9277564a.tar.xz
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/AliasAnalysis.cpp')
-rw-r--r--lib/Analysis/AliasAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp
index 16131cbc11..6dd79b47b9 100644
--- a/lib/Analysis/AliasAnalysis.cpp
+++ b/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;