aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ProfileInfoLoaderPass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/ProfileInfoLoaderPass.cpp')
-rw-r--r--lib/Analysis/ProfileInfoLoaderPass.cpp5
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