summaryrefslogtreecommitdiff
path: root/lib/Analysis/TypeBasedAliasAnalysis.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-21 19:45:09 +0000
committerDan Gohman <gohman@apple.com>2010-10-21 19:45:09 +0000
commitbc078c81e66cbd0263fb75f533a63ac7dd1f137d (patch)
treee49d8d88ebe2f1812f794831e266f6094d9ace64 /lib/Analysis/TypeBasedAliasAnalysis.cpp
parent212ae937bb9b52bb1f27f02cb0c28496c4d1e2b9 (diff)
downloadllvm-bc078c81e66cbd0263fb75f533a63ac7dd1f137d.tar.gz
llvm-bc078c81e66cbd0263fb75f533a63ac7dd1f137d.tar.bz2
llvm-bc078c81e66cbd0263fb75f533a63ac7dd1f137d.tar.xz
Explain what "constant" means here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117053 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/TypeBasedAliasAnalysis.cpp')
-rw-r--r--lib/Analysis/TypeBasedAliasAnalysis.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/TypeBasedAliasAnalysis.cpp b/lib/Analysis/TypeBasedAliasAnalysis.cpp
index 1cc743a382..38f3a11372 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: