diff options
-rw-r--r-- | lib/Transforms/IPO/LoopExtractor.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/IPO/LoopExtractor.cpp b/lib/Transforms/IPO/LoopExtractor.cpp index 480f0f7c03..3aa5686b21 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 <vector> using namespace llvm; namespace { @@ -64,6 +63,6 @@ bool LoopExtractor::runOnFunction(Function &F) { /// createLoopExtractorPass /// -FunctionPass* llvm::createLoopExtractorPass() { +Pass* llvm::createLoopExtractorPass() { return new LoopExtractor(); } |