[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8.h SparcV8TargetMachine.cpp SparcV8ISelSimple.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 22 23:20:27 PST 2006
Changes in directory llvm/lib/Target/SparcV8:
SparcV8.h updated: 1.7 -> 1.8
SparcV8TargetMachine.cpp updated: 1.36 -> 1.37
SparcV8ISelSimple.cpp (r1.99) removed
---
Log message:
remove the V8 simple isel
---
Diffs of the changes: (+4 -17)
SparcV8.h | 1 -
SparcV8TargetMachine.cpp | 20 ++++----------------
2 files changed, 4 insertions(+), 17 deletions(-)
Index: llvm/lib/Target/SparcV8/SparcV8.h
diff -u llvm/lib/Target/SparcV8/SparcV8.h:1.7 llvm/lib/Target/SparcV8/SparcV8.h:1.8
--- llvm/lib/Target/SparcV8/SparcV8.h:1.7 Sat Dec 17 01:47:01 2005
+++ llvm/lib/Target/SparcV8/SparcV8.h Mon Jan 23 01:20:15 2006
@@ -22,7 +22,6 @@
class FunctionPass;
class TargetMachine;
- FunctionPass *createSparcV8SimpleInstructionSelector(TargetMachine &TM);
FunctionPass *createSparcV8ISelDag(TargetMachine &TM);
FunctionPass *createSparcV8CodePrinterPass(std::ostream &OS,
Index: llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.36 llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.37
--- llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp:1.36 Sun Jan 15 01:19:53 2006
+++ llvm/lib/Target/SparcV8/SparcV8TargetMachine.cpp Mon Jan 23 01:20:15 2006
@@ -27,10 +27,6 @@
namespace {
// Register the target.
RegisterTarget<SparcV8TargetMachine> X("sparcv8"," SPARC V8 (experimental)");
-
- cl::opt<bool> EnableV8DAGDAG("enable-v8-dag-isel", cl::Hidden,
- cl::desc("Enable DAG-to-DAG isel for V8"),
- cl::init(0));
}
/// SparcV8TargetMachine ctor - Create an ILP32 architecture model
@@ -83,18 +79,10 @@
if (PrintMachineCode)
PM.add(new PrintFunctionPass());
- if (!EnableV8DAGDAG) {
- // Replace malloc and free instructions with library calls.
- PM.add(createLowerAllocationsPass());
- PM.add(createLowerSelectPass());
- // Make sure that no unreachable blocks are instruction selected.
- PM.add(createUnreachableBlockEliminationPass());
- PM.add(createSparcV8SimpleInstructionSelector(*this));
- } else {
- // Make sure that no unreachable blocks are instruction selected.
- PM.add(createUnreachableBlockEliminationPass());
- PM.add(createSparcV8ISelDag(*this));
- }
+ // Make sure that no unreachable blocks are instruction selected.
+ PM.add(createUnreachableBlockEliminationPass());
+
+ PM.add(createSparcV8ISelDag(*this));
// Print machine instructions as they were initially generated.
if (PrintMachineCode)
More information about the llvm-commits
mailing list