summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-12 01:46:07 +0000
committerChris Lattner <sabre@nondot.org>2006-01-12 01:46:07 +0000
commit33792a483a36c9abc677ea17b93e2056852853a0 (patch)
treea423d7c305f7596e48839237ae426442be46cf96 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parent9d5e4e8f3c9a5db1e92108ed409663ef7bee07c6 (diff)
downloadbcm5719-llvm-33792a483a36c9abc677ea17b93e2056852853a0.tar.gz
bcm5719-llvm-33792a483a36c9abc677ea17b93e2056852853a0.zip
Goodbye PPC pattern isel. You have served us well, but it is now time for
you to ride off into the sunset. llvm-svn: 25236
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index 3115a57a902..a58926ff7e8 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -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 @@ bool PPCTargetMachine::addPassesToEmitFile(PassManager &PM,
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 @@ void PPCJITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
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());
OpenPOWER on IntegriCloud