add AU.setPreservesCFG() since this pass only adds and removes function attributes

llvm-svn: 56868
This commit is contained in:
Nuno Lopes 2008-09-30 18:34:38 +00:00
parent 86aa16a69a
commit 2bd7b24f1a
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@ namespace {
// runOnSCC - Analyze the SCC, performing the transformation if possible.
bool runOnSCC(const std::vector<CallGraphNode *> &SCC);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesCFG();
CallGraphSCCPass::getAnalysisUsage(AU);
}
};
}