From: Dan Gohman Date: Thu, 21 Oct 2010 19:45:09 +0000 (+0000) Subject: Explain what "constant" means here. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bc078c81e66cbd0263fb75f533a63ac7dd1f137d;p=oota-llvm.git Explain what "constant" means here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117053 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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: