diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:42:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:42:52 +0000 |
commit | 7f8897f22e88271cfa114998a4d6088e7c8e8e11 (patch) | |
tree | bf5610a6be6233216bdaa701a92527bc23b86cff /lib/Transforms/IPO/LoopExtractor.cpp | |
parent | 21a82e6fc718b4a2cc0281a4a43477ba940d3586 (diff) |
eliminate RegisterOpt. It does the same thing as RegisterPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/LoopExtractor.cpp')
-rw-r--r-- | lib/Transforms/IPO/LoopExtractor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/LoopExtractor.cpp b/lib/Transforms/IPO/LoopExtractor.cpp index 39d0fca94f..a4ce585ef9 100644 --- a/lib/Transforms/IPO/LoopExtractor.cpp +++ b/lib/Transforms/IPO/LoopExtractor.cpp @@ -46,7 +46,7 @@ namespace { } }; - RegisterOpt<LoopExtractor> + RegisterPass<LoopExtractor> X("loop-extract", "Extract loops into new functions"); /// SingleLoopExtractor - For bugpoint. @@ -54,7 +54,7 @@ namespace { SingleLoopExtractor() : LoopExtractor(1) {} }; - RegisterOpt<SingleLoopExtractor> + RegisterPass<SingleLoopExtractor> Y("loop-extract-single", "Extract at most one loop into a new function"); } // End anonymous namespace @@ -148,7 +148,7 @@ namespace { bool runOnModule(Module &M); }; - RegisterOpt<BlockExtractorPass> + RegisterPass<BlockExtractorPass> XX("extract-blocks", "Extract Basic Blocks From Module (for bugpoint use)"); } |