forked from OSchip/llvm-project
Make the TD pass not include all of the call nodes from the local pass,
eliminating incomplete markers from them llvm-svn: 5490
This commit is contained in:
parent
a0e9e6ec8c
commit
36fd3eccbd
|
@ -87,6 +87,7 @@ DSGraph &TDDataStructures::getOrCreateDSGraph(Function &F) {
|
||||||
if (G == 0) { // Not created yet? Clone BU graph...
|
if (G == 0) { // Not created yet? Clone BU graph...
|
||||||
G = new DSGraph(getAnalysis<BUDataStructures>().getDSGraph(F));
|
G = new DSGraph(getAnalysis<BUDataStructures>().getDSGraph(F));
|
||||||
G->getAuxFunctionCalls().clear();
|
G->getAuxFunctionCalls().clear();
|
||||||
|
G->setPrintAuxCalls();
|
||||||
G->setGlobalsGraph(GlobalsGraph);
|
G->setGlobalsGraph(GlobalsGraph);
|
||||||
}
|
}
|
||||||
return *G;
|
return *G;
|
||||||
|
|
Loading…
Reference in New Issue