summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/IPA/IPModRef.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-08 22:17:01 +0000
committerChris Lattner <sabre@nondot.org>2002-11-08 22:17:01 +0000
commit2ea00e994e5d009429f31af66703f60b3c2a6850 (patch)
tree02d1cbe4314301a5abaffe5ce37fe7f0550e5bcd /llvm/lib/Analysis/IPA/IPModRef.cpp
parentecbc827e1d066742a576219175ecb7b1bf68a0c0 (diff)
downloadbcm5719-llvm-2ea00e994e5d009429f31af66703f60b3c2a6850.tar.gz
bcm5719-llvm-2ea00e994e5d009429f31af66703f60b3c2a6850.zip
Reduce amount of work needed to compute ip/modref
llvm-svn: 4637
Diffstat (limited to 'llvm/lib/Analysis/IPA/IPModRef.cpp')
-rw-r--r--llvm/lib/Analysis/IPA/IPModRef.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/IPA/IPModRef.cpp b/llvm/lib/Analysis/IPA/IPModRef.cpp
index 3832cb3cad1..ab9b7709d4b 100644
--- a/llvm/lib/Analysis/IPA/IPModRef.cpp
+++ b/llvm/lib/Analysis/IPA/IPModRef.cpp
@@ -148,7 +148,8 @@ DSGraph *FunctionModRefInfo::ResolveCallSiteModRefInfo(CallInst &CI,
// 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: "
OpenPOWER on IntegriCloud