Delete the allocate*TargetMachine function, which is now dead.
authorChris Lattner <sabre@nondot.org>
Sun, 11 Jul 2004 04:17:58 +0000 (04:17 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 11 Jul 2004 04:17:58 +0000 (04:17 +0000)
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

lib/Target/PowerPC/PPCTargetMachine.cpp
lib/Target/PowerPC/PowerPCRegisterInfo.cpp

index 6593fcd58de08b02a694bb6da67154199eed6b4a..16326431356c907c313601e4c2a4a15fd37aa5d7 100644 (file)
@@ -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
index e9a90c918df8a2fb42c9541f0ec8bd78fd7223b7..711de459c473e8afa36968acd092b75cf9e829dc 100644 (file)
@@ -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"