make DAG isel the default

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25282 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2006-01-13 18:49:47 +00:00
parent a4c29d2037
commit 512c77e532

View 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));