projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c920fa
)
now that the valuemapping is always the local scalar map, we can eliminate
author
Chris Lattner
<sabre@nondot.org>
Tue, 22 Mar 2005 00:22:45 +0000
(
00:22
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 22 Mar 2005 00:22:45 +0000
(
00:22
+0000)
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
patch
|
blob
|
history
diff --git
a/lib/Analysis/DataStructure/DataStructure.cpp
b/lib/Analysis/DataStructure/DataStructure.cpp
index d91acfb525207cf41ffb130264a7f89e20dd836d..5cd37840c820feb505af98eaa31de5b813a7d3cd 100644
(file)
--- 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)) {