[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC.h PPCTargetMachine.cpp PPCISelPattern.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 11 17:46:20 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPC.h updated: 1.24 -> 1.25
PPCTargetMachine.cpp updated: 1.78 -> 1.79
PPCISelPattern.cpp (r1.194) removed
---
Log message:
Goodbye PPC pattern isel. You have served us well, but it is now time for
you to ride off into the sunset.
---
Diffs of the changes: (+2 -12)
PPC.h | 1 -
PPCTargetMachine.cpp | 13 ++-----------
2 files changed, 2 insertions(+), 12 deletions(-)
Index: llvm/lib/Target/PowerPC/PPC.h
diff -u llvm/lib/Target/PowerPC/PPC.h:1.24 llvm/lib/Target/PowerPC/PPC.h:1.25
--- llvm/lib/Target/PowerPC/PPC.h:1.24 Thu Nov 17 12:55:48 2005
+++ llvm/lib/Target/PowerPC/PPC.h Wed Jan 11 19:46:07 2006
@@ -27,7 +27,6 @@
};
FunctionPass *createPPCBranchSelectionPass();
-FunctionPass *createPPCISelPattern(TargetMachine &TM);
FunctionPass *createPPCISelDag(TargetMachine &TM);
FunctionPass *createDarwinAsmPrinter(std::ostream &OS, TargetMachine &TM);
FunctionPass *createAIXAsmPrinter(std::ostream &OS, TargetMachine &TM);
Index: llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.78 llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.79
--- llvm/lib/Target/PowerPC/PPCTargetMachine.cpp:1.78 Wed Jan 4 07:52:30 2006
+++ llvm/lib/Target/PowerPC/PPCTargetMachine.cpp Wed Jan 11 19:46:07 2006
@@ -29,9 +29,6 @@
using namespace llvm;
namespace {
- static cl::opt<bool> DisablePPCDAGDAG("disable-ppc-dag-isel", cl::Hidden,
- cl::desc("Disable DAG-to-DAG isel for PPC"));
-
// Register the targets
RegisterTarget<PPCTargetMachine>
X("ppc32", " PowerPC");
@@ -100,10 +97,7 @@
PM.add(createUnreachableBlockEliminationPass());
// Install an instruction selector.
- if (!DisablePPCDAGDAG)
- PM.add(createPPCISelDag(*this));
- else
- PM.add(createPPCISelPattern(*this));
+ PM.add(createPPCISelDag(*this));
if (PrintMachineCode)
PM.add(createMachineFunctionPrinterPass(&std::cerr));
@@ -157,10 +151,7 @@
PM.add(createUnreachableBlockEliminationPass());
// Install an instruction selector.
- if (!DisablePPCDAGDAG)
- PM.add(createPPCISelDag(TM));
- else
- PM.add(createPPCISelPattern(TM));
+ PM.add(createPPCISelDag(TM));
PM.add(createRegisterAllocator());
PM.add(createPrologEpilogCodeInserter());
More information about the llvm-commits
mailing list