make DAG isel the default
authorAndrew Lenharth <andrewl@lenharth.org>
Fri, 13 Jan 2006 18:49:47 +0000 (18:49 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Fri, 13 Jan 2006 18:49:47 +0000 (18:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25282 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaTargetMachine.cpp

index 21a7f989810b8df1fcccb855d076391b261e1e9e..ea2348080cd773c0faa151ca0aa2354bd123a784 100644 (file)
@@ -29,8 +29,8 @@ namespace {
 }
 
 namespace llvm {
-  cl::opt<bool> EnableAlphaDAG("enable-dag-isel-for-alpha",
-                             cl::desc("Enable DAG ISEL for Alpha (beta option!)"),
+  cl::opt<bool> DisableAlphaDAG("disable-alpha-dag-isel",
+                             cl::desc("Disable DAG ISEL for Alpha"),
                              cl::Hidden);
 }
 
@@ -94,7 +94,7 @@ bool AlphaTargetMachine::addPassesToEmitFile(PassManager &PM,
   // Make sure that no unreachable blocks are instruction selected.
   PM.add(createUnreachableBlockEliminationPass());
 
-  if (EnableAlphaDAG)
+  if (!DisableAlphaDAG)
     PM.add(createAlphaISelDag(*this));
   else
     PM.add(createAlphaPatternInstructionSelector(*this));