summaryrefslogtreecommitdiff
path: root/lib/Analysis/TypeBasedAliasAnalysis.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-25 19:47:25 +0000
committerDan Gohman <gohman@apple.com>2010-10-25 19:47:25 +0000
commit269008ee8336bb6519ed714e50fe5bb428b98a51 (patch)
tree304dd209697ba68be57ed0fa05f0291aa1f0a618 /lib/Analysis/TypeBasedAliasAnalysis.cpp
parent0076d2057c627473ed69c227f7ead6283fdff44e (diff)
downloadllvm-269008ee8336bb6519ed714e50fe5bb428b98a51.tar.gz
llvm-269008ee8336bb6519ed714e50fe5bb428b98a51.tar.bz2
llvm-269008ee8336bb6519ed714e50fe5bb428b98a51.tar.xz
Add a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117288 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 65ab70f0b8..9e8f503e4f 100644
--- a/lib/Analysis/TypeBasedAliasAnalysis.cpp
+++ b/lib/Analysis/TypeBasedAliasAnalysis.cpp
@@ -31,7 +31,9 @@
//
// The second field identifies the type's parent node in the tree, or
// is null or omitted for a root node. A type is considered to alias
-// all of its decendents and all of its ancestors in the tree.
+// all of its decendents and all of its ancestors in the tree. Also,
+// a type is considered to alias all types in other trees, so that
+// bitcode produced from multiple front-ends is handled conservatively.
//
// If the third field is present, it's an integer which if equal to 1
// indicates that the type is "constant" (meaning pointsToConstantMemory