mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
expose this pass to both opt and analyze
llvm-svn: 20672
This commit is contained in:
parent
83083ec46a
commit
7a4832c53a
@ -49,8 +49,9 @@ namespace {
|
||||
virtual bool runOnModule(Module &M);
|
||||
};
|
||||
|
||||
RegisterOpt<LoaderPass>
|
||||
X("profile-loader", "Load profile information from llvmprof.out");
|
||||
RegisterPass<LoaderPass>
|
||||
X("profile-loader", "Load profile information from llvmprof.out",
|
||||
PassInfo::Analysis|PassInfo::Optimization);
|
||||
|
||||
RegisterAnalysisGroup<ProfileInfo, LoaderPass> Y;
|
||||
} // End of anonymous namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user