diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-23 01:44:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-23 01:44:53 +0000 |
commit | 091f7760810061bafb8b284bdb30403cf68bfc3a (patch) | |
tree | a1b49b28f33364c5c881df63a1037f65943fceb9 /lib/Analysis/DataStructure/CompleteBottomUp.cpp | |
parent | 078c513e877280bde0da60d37f5cb83fd261c385 (diff) |
Initial support for implementing clonePartiallyInto in terms of cloneReachableSubgraph, though this support is currently disabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10970 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/CompleteBottomUp.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/CompleteBottomUp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/CompleteBottomUp.cpp b/lib/Analysis/DataStructure/CompleteBottomUp.cpp index 8695537af5..0cbe0257b5 100644 --- a/lib/Analysis/DataStructure/CompleteBottomUp.cpp +++ b/lib/Analysis/DataStructure/CompleteBottomUp.cpp @@ -141,7 +141,8 @@ unsigned CompleteBUDataStructures::calculateSCCGraphs(DSGraph &FG, ValMap[NG] = ~0U; DSGraph::NodeMapTy NodeMap; - FG.cloneInto(*NG, FG.getScalarMap(), FG.getReturnNodes(), NodeMap, 0); + FG.cloneInto(*NG, FG.getScalarMap(), FG.getReturnNodes(), NodeMap, + DSGraph::UpdateInlinedGlobals); // Update the DSInfo map and delete the old graph... for (DSGraph::ReturnNodesTy::iterator I = NG->getReturnNodes().begin(); |