From: Chris Lattner Date: Fri, 18 Mar 2005 05:27:57 +0000 (+0000) Subject: expose this pass to both opt and analyze X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=41b162fabab4886245bf3abe1aa8a05f31a8c126;p=oota-llvm.git 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 --- diff --git a/lib/Analysis/ProfileInfoLoaderPass.cpp b/lib/Analysis/ProfileInfoLoaderPass.cpp index b76c34a8bb8..bb4cbbee3de 100644 --- a/lib/Analysis/ProfileInfoLoaderPass.cpp +++ b/lib/Analysis/ProfileInfoLoaderPass.cpp @@ -49,8 +49,9 @@ namespace { virtual bool runOnModule(Module &M); }; - RegisterOpt - X("profile-loader", "Load profile information from llvmprof.out"); + RegisterPass + X("profile-loader", "Load profile information from llvmprof.out", + PassInfo::Analysis|PassInfo::Optimization); RegisterAnalysisGroup Y; } // End of anonymous namespace