summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-26 21:12:46 +0000
committerChris Lattner <sabre@nondot.org>2002-07-26 21:12:46 +0000
commitc8b7092e54f117ce6377568a9e3e0d5edc48392c (patch)
tree6d71fb1fd09ee03f284867bfe148bc81eb42879b /llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
parenta2c098598058ae8466f6141804fdba50b758b0fd (diff)
downloadbcm5719-llvm-c8b7092e54f117ce6377568a9e3e0d5edc48392c.tar.gz
bcm5719-llvm-c8b7092e54f117ce6377568a9e3e0d5edc48392c.zip
* Add support for different "PassType's"
* Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113
Diffstat (limited to 'llvm/lib/Transforms/Scalar/SimplifyCFG.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/SimplifyCFG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp b/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
index 6774dc17a31..f26d5a01f82 100644
--- a/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
@@ -26,7 +26,7 @@ namespace {
struct CFGSimplifyPass : public FunctionPass {
virtual bool runOnFunction(Function &F);
};
- RegisterPass<CFGSimplifyPass> X("simplifycfg", "Simplify the CFG");
+ RegisterOpt<CFGSimplifyPass> X("simplifycfg", "Simplify the CFG");
}
Pass *createCFGSimplificationPass() {
OpenPOWER on IntegriCloud