From: Chris Lattner Date: Tue, 22 Mar 2005 00:22:45 +0000 (+0000) Subject: now that the valuemapping is always the local scalar map, we can eliminate X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=271d6884e3f43aa244b33bb4daf35cafc8244a46;p=oota-llvm.git 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 --- 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)) {