diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-18 05:27:57 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-18 05:27:57 +0000 |
commit | 41b162fabab4886245bf3abe1aa8a05f31a8c126 (patch) | |
tree | 768d02cd3b0160792b39c1b0c646b3a671a75222 /lib/Analysis/ProfileInfoLoaderPass.cpp | |
parent | 89976fff63679d10493ffb10c97805419fe106e1 (diff) |
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
Diffstat (limited to 'lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r-- | lib/Analysis/ProfileInfoLoaderPass.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index b76c34a8bb..bb4cbbee3d 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -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 |