expose this pass to both opt and analyze

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-03-18 05:27:57 +00:00
parent 89976fff63
commit 41b162faba

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