mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-26 05:00:26 +00:00
Every pass deserves a name, even codegenprep.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5637c3997
commit
a16422f11b
@ -106,6 +106,8 @@ namespace {
|
||||
}
|
||||
bool runOnFunction(Function &F);
|
||||
|
||||
const char *getPassName() const { return "CodeGen Prepare"; }
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.addPreserved<DominatorTree>();
|
||||
AU.addPreserved<ProfileInfo>();
|
||||
|
Loading…
Reference in New Issue
Block a user