[llvm-commits] CVS: llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 17 21:28:13 PST 2005
Changes in directory llvm/lib/Analysis:
ProfileInfoLoaderPass.cpp updated: 1.10 -> 1.11
---
Log message:
expose this pass to both opt and analyze
---
Diffs of the changes: (+3 -2)
ProfileInfoLoaderPass.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Index: llvm/lib/Analysis/ProfileInfoLoaderPass.cpp
diff -u llvm/lib/Analysis/ProfileInfoLoaderPass.cpp:1.10 llvm/lib/Analysis/ProfileInfoLoaderPass.cpp:1.11
--- llvm/lib/Analysis/ProfileInfoLoaderPass.cpp:1.10 Sun Jan 9 21:56:27 2005
+++ llvm/lib/Analysis/ProfileInfoLoaderPass.cpp Thu Mar 17 23:27:57 2005
@@ -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
More information about the llvm-commits
mailing list