summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DataStructure/Steensgaard.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-23 01:44:53 +0000
committerChris Lattner <sabre@nondot.org>2004-01-23 01:44:53 +0000
commit78c36d2112e8836a3b47a631c5568fff02792c70 (patch)
tree9c664fb578731c772dfcd7db29b4849beb50186a /llvm/lib/Analysis/DataStructure/Steensgaard.cpp
parent7fd9f4ecdc78bdf32b4560107d918c3858c143d9 (diff)
downloadbcm5719-llvm-78c36d2112e8836a3b47a631c5568fff02792c70.tar.gz
bcm5719-llvm-78c36d2112e8836a3b47a631c5568fff02792c70.zip
Initial support for implementing clonePartiallyInto in terms of cloneReachableSubgraph, though this support is currently disabled.
llvm-svn: 10970
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Steensgaard.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/Steensgaard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Steensgaard.cpp b/llvm/lib/Analysis/DataStructure/Steensgaard.cpp
index 27daa186d27..426795e8bde 100644
--- a/llvm/lib/Analysis/DataStructure/Steensgaard.cpp
+++ b/llvm/lib/Analysis/DataStructure/Steensgaard.cpp
@@ -130,7 +130,8 @@ bool Steens::run(Module &M) {
{ // Scope to free NodeMap memory ASAP
DSGraph::NodeMapTy NodeMap;
const DSGraph &FDSG = LDS.getDSGraph(*I);
- ResultGraph->cloneInto(FDSG, ValMap, RetValMap, NodeMap);
+ ResultGraph->cloneInto(FDSG, ValMap, RetValMap, NodeMap,
+ DSGraph::UpdateInlinedGlobals);
}
// Incorporate the inlined Function's ScalarMap into the global
OpenPOWER on IntegriCloud