projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89976ff
)
expose this pass to both opt and analyze
author
Chris Lattner
<sabre@nondot.org>
Fri, 18 Mar 2005 05:27:57 +0000
(
05:27
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 18 Mar 2005 05:27:57 +0000
(
05:27
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20672
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Analysis/ProfileInfoLoaderPass.cpp
patch
|
blob
|
history
diff --git
a/lib/Analysis/ProfileInfoLoaderPass.cpp
b/lib/Analysis/ProfileInfoLoaderPass.cpp
index b76c34a8bb833770753d2ee5c0e5ffd48a719e92..bb4cbbee3dec9cd2fd15b54a2c95f05745661263 100644
(file)
--- 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