[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Jul 10 23:18:15 PDT 2004


Changes in directory llvm/lib/Target/PowerPC:

PowerPCTargetMachine.cpp updated: 1.10 -> 1.11

---
Log message:

Delete the allocate*TargetMachine function, which is now dead .
The shared command line options are now in a header that makes sense.



---
Diffs of the changes:  (+1 -9)

Index: llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.10 llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.11
--- llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.10	Sat Jul 10 22:27:40 2004
+++ llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp	Sat Jul 10 23:16:48 2004
@@ -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 @@
   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,





More information about the llvm-commits mailing list