Goodbye PPC pattern isel.  You have served us well, but it is now time for
you to ride off into the sunset.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25236 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index 3115a57..a58926f 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/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 @@
   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());