[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 31 11:57:56 PST 2004
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructure.cpp updated: 1.183 -> 1.184
---
Log message:
Improve comment
---
Diffs of the changes: (+4 -2)
Index: llvm/lib/Analysis/DataStructure/DataStructure.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.183 llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.184
--- llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.183 Sun Oct 31 11:45:40 2004
+++ llvm/lib/Analysis/DataStructure/DataStructure.cpp Sun Oct 31 13:57:43 2004
@@ -1988,8 +1988,10 @@
}
/// 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,
More information about the llvm-commits
mailing list