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
This commit is contained in:
Chris Lattner 2005-03-22 00:22:45 +00:00
parent 3c920fa861
commit 271d6884e3

View File

@ -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)) {