diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 48a1895694b..695dc80feb9 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -134,6 +134,14 @@ Pass *createIPConstantPropagationPass(); Pass *createSwapElementsPass(); Pass *createSortElementsPass(); + +//===----------------------------------------------------------------------===// +// +// LoopExtractor - This pass moves every natural loop into its own function. +// Mostly useful in debugging via bugpoint. +// +Pass *createLoopExtractorPass(); + } // End llvm namespace #endif diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 09c12b3c296..59ff8f2121e 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -137,14 +137,6 @@ Pass *createInstructionCombiningPass(); FunctionPass *createLICMPass(); -//===----------------------------------------------------------------------===// -// -// LoopExtractor - This pass moves every natural loop into its own function. -// Mostly useful in debugging via bugpoint. -// -FunctionPass *createLoopExtractorPass(); - - //===----------------------------------------------------------------------===// // // PiNodeInsertion - This pass inserts single entry Phi nodes into basic blocks