diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-22 00:22:45 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-22 00:22:45 +0000 |
commit | 271d6884e3f43aa244b33bb4daf35cafc8244a46 (patch) | |
tree | e57b9c66e43af72b84b9d525788d8c5ec505d101 /lib/Analysis/DataStructure/DataStructure.cpp | |
parent | 3c920fa861543355b656446214fa0c4edb06448a (diff) |
now that the valuemapping is always the local scalar map, we can eliminate
this identity merge.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/DataStructure.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/DataStructure.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index d91acfb525..5cd37840c8 100644 --- a/lib/Analysis/DataStructure/DataStructure.cpp +++ b/lib/Analysis/DataStructure/DataStructure.cpp @@ -1286,10 +1286,6 @@ void DSGraph::cloneInto(const DSGraph &G, DSNode *MappedNodeN = MappedNode.getNode(); H.mergeWith(DSNodeHandle(MappedNodeN, I->second.getOffset()+MappedNode.getOffset())); - - // If this is a global, add the global to this fn or merge if already exists - if (GlobalValue* GV = dyn_cast<GlobalValue>(I->first)) - ScalarMap[GV].mergeWith(H); } if (!(CloneFlags & DontCloneCallNodes)) { |