diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-31 19:57:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-31 19:57:43 +0000 |
commit | 70fdac83e3da9007fceefd439eb45a4bad18bf7b (patch) | |
tree | 5b633814ca20ac9ebce807c400a1c3b6140cc580 /llvm/lib/Analysis/DataStructure/DataStructure.cpp | |
parent | 991f66abc14c6e045e21c0861250941c4ebad19b (diff) | |
download | bcm5719-llvm-70fdac83e3da9007fceefd439eb45a4bad18bf7b.tar.gz bcm5719-llvm-70fdac83e3da9007fceefd439eb45a4bad18bf7b.zip |
Improve comment
llvm-svn: 17375
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/DataStructure.cpp')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/DataStructure.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/DataStructure/DataStructure.cpp b/llvm/lib/Analysis/DataStructure/DataStructure.cpp index 60aa7666631..179f286378f 100644 --- a/llvm/lib/Analysis/DataStructure/DataStructure.cpp +++ b/llvm/lib/Analysis/DataStructure/DataStructure.cpp @@ -1988,8 +1988,10 @@ void DSGraph::AssertGraphOK() const { } /// computeNodeMapping - Given roots in two different DSGraphs, traverse the -/// nodes reachable from the two graphs, computing the mapping of nodes from -/// the first to the second graph. +/// nodes reachable from the two graphs, computing the mapping of nodes from the +/// first to the second graph. This mapping may be many-to-one (i.e. the first +/// graph may have multiple nodes representing one node in the second graph), +/// but it will not work if there is a one-to-many or many-to-many mapping. /// void DSGraph::computeNodeMapping(const DSNodeHandle &NH1, const DSNodeHandle &NH2, NodeMapTy &NodeMap, |