diff options
Diffstat (limited to 'lib/Target/PowerPC/PowerPCTargetMachine.cpp')
-rw-r--r-- | lib/Target/PowerPC/PowerPCTargetMachine.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Target/PowerPC/PowerPCTargetMachine.cpp b/lib/Target/PowerPC/PowerPCTargetMachine.cpp index a9b9cdea83..d97307f097 100644 --- a/lib/Target/PowerPC/PowerPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PowerPCTargetMachine.cpp @@ -14,7 +14,7 @@ #include "PowerPC.h" #include "llvm/Module.h" #include "llvm/PassManager.h" -#include "llvm/Target/TargetMachineImpls.h" +#include "llvm/Target/TargetOptions.h" #include "llvm/Target/TargetMachineRegistry.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/Passes.h" @@ -25,14 +25,6 @@ namespace { RegisterTarget<PowerPCTargetMachine> X("powerpc", " PowerPC (experimental)"); } -// allocatePowerPCTargetMachine - Allocate and return a subclass of -// TargetMachine that implements the PowerPC backend. -// -TargetMachine *llvm::allocatePowerPCTargetMachine(const Module &M, - IntrinsicLowering *IL) { - return new PowerPCTargetMachine(M, IL); -} - /// PowerPCTargetMachine ctor - Create an ILP32 architecture model /// PowerPCTargetMachine::PowerPCTargetMachine(const Module &M, |