mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10955 91177308-0d34-0410-b5e6-96231b3b80d8
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