[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Mar 21 16:22:58 PST 2005
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructure.cpp updated: 1.221 -> 1.222
---
Log message:
now that the valuemapping is always the local scalar map, we can eliminate
this identity merge.
---
Diffs of the changes: (+0 -4)
DataStructure.cpp | 4 ----
1 files changed, 4 deletions(-)
Index: llvm/lib/Analysis/DataStructure/DataStructure.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.221 llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.222
--- llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.221 Mon Mar 21 18:21:05 2005
+++ llvm/lib/Analysis/DataStructure/DataStructure.cpp Mon Mar 21 18:22:45 2005
@@ -1286,10 +1286,6 @@
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)) {
More information about the llvm-commits
mailing list