Reduce amount of work needed to compute ip/modref

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4637 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-11-08 22:17:01 +00:00
parent 591c7288a7
commit 7cc9875c9d
2 changed files with 4 additions and 2 deletions

View File

@ -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: "

View File

@ -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: "