Explain what "constant" means here.
authorDan Gohman <gohman@apple.com>
Thu, 21 Oct 2010 19:45:09 +0000 (19:45 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 21 Oct 2010 19:45:09 +0000 (19:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117053 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/TypeBasedAliasAnalysis.cpp

index 1cc743a3824e8d72de7007aef3d64dd96d5edf4d..38f3a11372d2ed5a9b9b699523bce8edd318210c 100644 (file)
@@ -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: