[llvm-commits] [llvm] r117053 - /llvm/trunk/lib/Analysis/TypeBasedAliasAnalysis.cpp
Dan Gohman
gohman at apple.com
Thu Oct 21 12:45:09 PDT 2010
Author: djg
Date: Thu Oct 21 14:45:09 2010
New Revision: 117053
URL: http://llvm.org/viewvc/llvm-project?rev=117053&view=rev
Log:
Explain what "constant" means here.
Modified:
llvm/trunk/lib/Analysis/TypeBasedAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/TypeBasedAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/TypeBasedAliasAnalysis.cpp?rev=117053&r1=117052&r2=117053&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/TypeBasedAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/TypeBasedAliasAnalysis.cpp Thu Oct 21 14:45:09 2010
@@ -28,7 +28,9 @@
// uniquely identifies the type. The second field identifies the type's
// parent node in the tree, or is null or omitted for a root node.
// If the third field is present, it's an integer which if equal to 1
-// indicates that the type is "constant".
+// indicates that the type is "constant" (meaning
+// pointsToConstantMemory should return true; see
+// http://llvm.org/docs/AliasAnalysis.html#OtherItfs).
//
// TODO: The current metadata encoding scheme doesn't support struct
// fields. For example:
More information about the llvm-commits
mailing list