1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Move prototype to IPO.h instead of Scalar.h

Make sure that the file interface header (IPO.h) is included first
remove dead #incldue

llvm-svn: 12375
This commit is contained in:
Chris Lattner 2004-03-14 02:37:16 +00:00
parent 3bb91dafcd
commit 46c006bb19

View File

@ -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();
}