From 41b162fabab4886245bf3abe1aa8a05f31a8c126 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 18 Mar 2005 05:27:57 +0000 Subject: [PATCH] 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 --- lib/Analysis/ProfileInfoLoaderPass.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.34.1