add AU.setPreservesCFG() since this pass only adds and removes function attributes
llvm-svn: 56868
This commit is contained in:
parent
86aa16a69a
commit
2bd7b24f1a
|
@ -35,6 +35,11 @@ namespace {
|
||||||
|
|
||||||
// runOnSCC - Analyze the SCC, performing the transformation if possible.
|
// runOnSCC - Analyze the SCC, performing the transformation if possible.
|
||||||
bool runOnSCC(const std::vector<CallGraphNode *> &SCC);
|
bool runOnSCC(const std::vector<CallGraphNode *> &SCC);
|
||||||
|
|
||||||
|
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||||
|
AU.setPreservesCFG();
|
||||||
|
CallGraphSCCPass::getAnalysisUsage(AU);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue