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 | c9bfcbabc5c8c0aeb4e80ff39e32daa74f1e1da4 (patch) | |
| tree | c0926202aec866d756ad01ca1ce0139ba2229384 /lib/Analysis/AliasAnalysis.cpp | |
| parent | 3a9349621f5085f96c6ecfb945c3ccdfb4b04c26 (diff) | |
| download | external_llvm-c9bfcbabc5c8c0aeb4e80ff39e32daa74f1e1da4.zip external_llvm-c9bfcbabc5c8c0aeb4e80ff39e32daa74f1e1da4.tar.gz external_llvm-c9bfcbabc5c8c0aeb4e80ff39e32daa74f1e1da4.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; |
