[llvm-commits] [llvm] r64464 - /llvm/trunk/include/llvm/Analysis/AliasAnalysis.h

Duncan Sands baldrick at free.fr
Fri Feb 13 09:36:13 PST 2009


Author: baldrick
Date: Fri Feb 13 11:36:13 2009
New Revision: 64464

URL: http://llvm.org/viewvc/llvm-project?rev=64464&view=rev
Log:
Correct a comment: since AccessArguments is now
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.

Modified:
    llvm/trunk/include/llvm/Analysis/AliasAnalysis.h

Modified: llvm/trunk/include/llvm/Analysis/AliasAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/AliasAnalysis.h?rev=64464&r1=64463&r2=64464&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Analysis/AliasAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/AliasAnalysis.h Fri Feb 13 11:36:13 2009
@@ -126,15 +126,15 @@
     // 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





More information about the llvm-commits mailing list