forked from OSchip/llvm-project
Every pass deserves a name, even codegenprep.
llvm-svn: 170831
This commit is contained in:
parent
6d4fdd6d2c
commit
99cafb1db2
|
@ -106,6 +106,8 @@ namespace {
|
||||||
}
|
}
|
||||||
bool runOnFunction(Function &F);
|
bool runOnFunction(Function &F);
|
||||||
|
|
||||||
|
const char *getPassName() const { return "CodeGen Prepare"; }
|
||||||
|
|
||||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||||
AU.addPreserved<DominatorTree>();
|
AU.addPreserved<DominatorTree>();
|
||||||
AU.addPreserved<ProfileInfo>();
|
AU.addPreserved<ProfileInfo>();
|
||||||
|
|
Loading…
Reference in New Issue