[llvm-commits] CVS: llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Jul 10 23:18:00 PDT 2004
Changes in directory llvm/lib/Target/SparcV9:
SparcV9TargetMachine.cpp updated: 1.117 -> 1.118
---
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/SparcV9/SparcV9TargetMachine.cpp
diff -u llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.117 llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.118
--- llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp:1.117 Sat Jul 10 22:27:40 2004
+++ llvm/lib/Target/SparcV9/SparcV9TargetMachine.cpp Sat Jul 10 23:16:54 2004
@@ -23,7 +23,7 @@
#include "llvm/CodeGen/MachineFunctionInfo.h"
#include "llvm/CodeGen/MachineCodeForInstruction.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 "MappingInfo.h"
@@ -287,11 +287,3 @@
PM.add(createMachineFunctionPrinterPass(&std::cerr, "Final code:\n"));
}
-/// allocateSparcV9TargetMachine - Allocate and return a subclass of
-/// TargetMachine that implements the SparcV9 backend. (the
-/// llvm/CodeGen/SparcV9.h interface)
-///
-TargetMachine *llvm::allocateSparcV9TargetMachine(const Module &M,
- IntrinsicLowering *IL) {
- return new SparcV9TargetMachine(M, IL);
-}
More information about the llvm-commits
mailing list