From 7f8897f22e88271cfa114998a4d6088e7c8e8e11 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Aug 2006 22:42:52 +0000 Subject: 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 --- lib/Transforms/IPO/LoopExtractor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Transforms/IPO/LoopExtractor.cpp') 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 + RegisterPass X("loop-extract", "Extract loops into new functions"); /// SingleLoopExtractor - For bugpoint. @@ -54,7 +54,7 @@ namespace { SingleLoopExtractor() : LoopExtractor(1) {} }; - RegisterOpt + RegisterPass 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 + RegisterPass XX("extract-blocks", "Extract Basic Blocks From Module (for bugpoint use)"); } -- cgit v1.2.3-70-g09d2