From 271d6884e3f43aa244b33bb4daf35cafc8244a46 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 22 Mar 2005 00:22:45 +0000 Subject: [PATCH] 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 --- lib/Analysis/DataStructure/DataStructure.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index d91acfb5252..5cd37840c82 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(I->first)) - ScalarMap[GV].mergeWith(H); } if (!(CloneFlags & DontCloneCallNodes)) {