mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-07 11:08:46 +00:00
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:
parent
3c920fa861
commit
271d6884e3
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user