From bc078c81e66cbd0263fb75f533a63ac7dd1f137d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 21 Oct 2010 19:45:09 +0000 Subject: [PATCH] Explain what "constant" means here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117053 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/TypeBasedAliasAnalysis.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Analysis/TypeBasedAliasAnalysis.cpp b/lib/Analysis/TypeBasedAliasAnalysis.cpp index 1cc743a3824..38f3a11372d 100644 --- a/lib/Analysis/TypeBasedAliasAnalysis.cpp +++ b/lib/Analysis/TypeBasedAliasAnalysis.cpp @@ -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: -- 2.34.1