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 b76c34a..bb4cbbee 100644
--- a/lib/Analysis/ProfileInfoLoaderPass.cpp
+++ b/lib/Analysis/ProfileInfoLoaderPass.cpp
@@ -49,8 +49,9 @@
     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