Correct a comment: since AccessArguments is now
authorDuncan Sands <baldrick@free.fr>
Fri, 13 Feb 2009 17:36:13 +0000 (17:36 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 13 Feb 2009 17:36:13 +0000 (17:36 +0000)
being used for atomic intrinsics, it seems the
access may be volatile.  No code was exploiting
the original non-volatile definition, so only
the comment needs changing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64464 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/AliasAnalysis.h

index c938e887940c0b3d34a88d714e7ee5af15c837df..ba040e1393bf3b7ca73e75c832ea3f976fee4e37 100644 (file)
@@ -126,15 +126,15 @@ public:
     // This property corresponds to the GCC 'const' attribute.
     DoesNotAccessMemory,
 
-    // AccessesArguments - This function accesses function arguments in
-    // non-volatile and well known ways, but does not access any other memory.
+    // AccessesArguments - This function accesses function arguments in well
+    // known (possibly volatile) ways, but does not access any other memory.
     //
     // Clients may use the Info parameter of getModRefBehavior to get specific
     // information about how pointer arguments are used.
     AccessesArguments,
 
     // AccessesArgumentsAndGlobals - This function has accesses function
-    // arguments and global variables in non-volatile and well-known ways, but
+    // arguments and global variables well known (possibly volatile) ways, but
     // does not access any other memory.
     //
     // Clients may use the Info parameter of getModRefBehavior to get specific