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 f12594d56f
commit e29503a805
1 changed files with 3 additions and 2 deletions

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