diff --git a/lib/Transforms/IPO/LoopExtractor.cpp b/lib/Transforms/IPO/LoopExtractor.cpp index 480f0f7c03d..3aa5686b210 100644 --- a/lib/Transforms/IPO/LoopExtractor.cpp +++ b/lib/Transforms/IPO/LoopExtractor.cpp @@ -14,12 +14,11 @@ // //===----------------------------------------------------------------------===// +#include "llvm/Transforms/IPO.h" #include "llvm/Module.h" #include "llvm/Pass.h" #include "llvm/Analysis/LoopInfo.h" -#include "llvm/Transforms/Scalar.h" #include "llvm/Transforms/Utils/FunctionUtils.h" -#include using namespace llvm; namespace { @@ -64,6 +63,6 @@ bool LoopExtractor::runOnFunction(Function &F) { /// createLoopExtractorPass /// -FunctionPass* llvm::createLoopExtractorPass() { +Pass* llvm::createLoopExtractorPass() { return new LoopExtractor(); }