diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-06 18:10:45 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-06 18:10:45 +0000 |
commit | 9b8639c9bd98ae08d0fe3630e2d3421a9277564a (patch) | |
tree | c0926202aec866d756ad01ca1ce0139ba2229384 /lib/Analysis/AliasAnalysis.cpp | |
parent | 58e1248dd2b3d76bbc78a9cb84cd022a35e83955 (diff) | |
download | external_llvm-9b8639c9bd98ae08d0fe3630e2d3421a9277564a.zip external_llvm-9b8639c9bd98ae08d0fe3630e2d3421a9277564a.tar.gz external_llvm-9b8639c9bd98ae08d0fe3630e2d3421a9277564a.tar.bz2 |
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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/AliasAnalysis.cpp b/lib/Analysis/AliasAnalysis.cpp index 16131cb..6dd79b4 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; |