summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 22:42:52 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 22:42:52 +0000
commitc2d3d3112e981b142ffdb742622b52bc165a3df9 (patch)
tree01726132d406eb377d56c0590770db01784bef36 /llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
parentc7cff24f40b22bf010d33a92c08c707a419a6b98 (diff)
downloadbcm5719-llvm-c2d3d3112e981b142ffdb742622b52bc165a3df9.tar.gz
bcm5719-llvm-c2d3d3112e981b142ffdb742622b52bc165a3df9.zip
eliminate RegisterOpt. It does the same thing as RegisterPass.
llvm-svn: 29925
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 8b9c518de9f..6b42f1c35ad 100644
--- a/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
+++ b/llvm/lib/Transforms/Scalar/SimplifyCFG.cpp
@@ -35,7 +35,7 @@ namespace {
struct CFGSimplifyPass : public FunctionPass {
virtual bool runOnFunction(Function &F);
};
- RegisterOpt<CFGSimplifyPass> X("simplifycfg", "Simplify the CFG");
+ RegisterPass<CFGSimplifyPass> X("simplifycfg", "Simplify the CFG");
}
// Public interface to the CFGSimplification pass
OpenPOWER on IntegriCloud