summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-02-13 17:36:13 +0000
committerDuncan Sands <baldrick@free.fr>2009-02-13 17:36:13 +0000
commita738e8b854f73bdce88f1c3ccbee9f8a56951d09 (patch)
tree976a5dd58d36d5ac09d2d5f2fae49f568fc54c60
parent566ed102441dd35ca8c141665011cdba8d1f1b70 (diff)
downloadbcm5719-llvm-a738e8b854f73bdce88f1c3ccbee9f8a56951d09.tar.gz
bcm5719-llvm-a738e8b854f73bdce88f1c3ccbee9f8a56951d09.zip
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. llvm-svn: 64464
-rw-r--r--llvm/include/llvm/Analysis/AliasAnalysis.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Analysis/AliasAnalysis.h b/llvm/include/llvm/Analysis/AliasAnalysis.h
index c938e887940..ba040e1393b 100644
--- a/llvm/include/llvm/Analysis/AliasAnalysis.h
+++ b/llvm/include/llvm/Analysis/AliasAnalysis.h
@@ -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
OpenPOWER on IntegriCloud