[llvm-commits] CVS: llvm/lib/Analysis/IPA/IPModRef.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 8 16:18:01 PST 2002


Changes in directory llvm/lib/Analysis/IPA:

IPModRef.cpp updated: 1.8 -> 1.9

---
Log message:

Reduce amount of work needed to compute ip/modref


---
Diffs of the changes:

Index: llvm/lib/Analysis/IPA/IPModRef.cpp
diff -u llvm/lib/Analysis/IPA/IPModRef.cpp:1.8 llvm/lib/Analysis/IPA/IPModRef.cpp:1.9
--- llvm/lib/Analysis/IPA/IPModRef.cpp:1.8	Fri Nov  8 13:13:14 2002
+++ llvm/lib/Analysis/IPA/IPModRef.cpp	Fri Nov  8 16:17:01 2002
@@ -148,7 +148,8 @@
     // Perform the merging now of the graph for the callee, which will come with
     // mod/ref bits set...
     Result->mergeInGraph(CS, IPModRefObj.getBUDSGraph(*F),
-                         DSGraph::StripAllocaBit);
+                         DSGraph::StripAllocaBit | DSGraph::DontCloneCallNodes |
+                         DSGraph::DontCloneAuxCallNodes);
 
   } else {
     std::cerr << "IP Mod/Ref indirect call not implemented yet: "





More information about the llvm-commits mailing list