Eliminated the CompletedNodes argument to the cloneReachable* methods. This
map was only used to implement a marginal GlobalsGraph optimization, and it actually slows the analysis down (due to the overhead of keeping it), so just eliminate it entirely. llvm-svn: 10955
This commit is contained in:
@@ -288,9 +288,8 @@ void TDDataStructures::inlineGraphIntoCallees(DSGraph &Graph) {
|
||||
<< &FunctionCalls[i] << "\n");
|
||||
|
||||
DSGraph::NodeMapTy NodeMapInCallee; // map from nodes to clones in callee
|
||||
DSGraph::NodeMapTy CompletedMap; // unused map for nodes not to do
|
||||
CalleeGraph.cloneReachableSubgraph(Graph, RootNodeSet,
|
||||
NodeMapInCallee, CompletedMap,
|
||||
NodeMapInCallee,
|
||||
DSGraph::StripModRefBits |
|
||||
DSGraph::KeepAllocaBit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user