diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-07-11 04:17:58 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-07-11 04:17:58 +0000 |
| commit | b889c6b26194c7d21bff51d840b680a1c52d298e (patch) | |
| tree | 6e42ebac72f6b6601db7b8b1b39720350fef89a1 /llvm/lib/Target | |
| parent | c2726e63ed60e500b8a553e23862e3a558d08a93 (diff) | |
| download | bcm5719-llvm-b889c6b26194c7d21bff51d840b680a1c52d298e.tar.gz bcm5719-llvm-b889c6b26194c7d21bff51d840b680a1c52d298e.zip | |
Delete the allocate*TargetMachine function, which is now dead.
The shared command line options are now in a header that makes sense.
llvm-svn: 14757
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 10 | ||||
| -rw-r--r-- | llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp index 6593fcd58de..16326431356 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -17,7 +17,7 @@ #include "llvm/CodeGen/IntrinsicLowering.h" #include "llvm/CodeGen/MachineFunction.h" #include "llvm/CodeGen/Passes.h" -#include "llvm/Target/TargetMachineImpls.h" +#include "llvm/Target/TargetOptions.h" #include "llvm/Target/TargetMachineRegistry.h" #include "llvm/Transforms/Scalar.h" #include <iostream> @@ -28,14 +28,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 /// /// FIXME: Should double alignment be 8 bytes? Then we get a PtrAl != DoubleAl diff --git a/llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp b/llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp index e9a90c918df..711de459c47 100644 --- a/llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp +++ b/llvm/lib/Target/PowerPC/PowerPCRegisterInfo.cpp @@ -23,7 +23,7 @@ #include "llvm/CodeGen/MachineFrameInfo.h" #include "llvm/Target/TargetFrameInfo.h" #include "llvm/Target/TargetMachine.h" -#include "llvm/Target/TargetMachineImpls.h" +#include "llvm/Target/TargetOptions.h" #include "Support/CommandLine.h" #include "Support/Debug.h" #include "Support/STLExtras.h" |

