Fix a comment.
authorDan Gohman <gohman@apple.com>
Fri, 6 Aug 2010 18:10:45 +0000 (18:10 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 6 Aug 2010 18:10:45 +0000 (18:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110455 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/AliasAnalysis.cpp

index 16131cbc11d068e2c8b77e78eeb7eac58c935335..6dd79b47b9599ab51135f9696a4cd43d5df234b1 100644 (file)
@@ -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;