aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-11 04:17:58 +0000
committerChris Lattner <sabre@nondot.org>2004-07-11 04:17:58 +0000
commit68905bb6fc8848b6437057f3998b89cbf5d6f837 (patch)
tree6630559eb10d4445d96f7a9af21a035fc0ad698e /lib/Target/PowerPC/PPCTargetMachine.cpp
parent0cf0c3746995e8b95fc055cdf8e7210200cb942d (diff)
Delete the allocate*TargetMachine function, which is now dead.
The shared command line options are now in a header that makes sense. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14757 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index 6593fcd58d..1632643135 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/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