1
0
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:
Chris Lattner 2005-03-18 05:27:57 +00:00
parent 83083ec46a
commit 7a4832c53a

View File

@ -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