diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2006-01-13 18:49:47 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-01-13 18:49:47 +0000 |
commit | 045371a744d98381548f6cd9969f2232e48de34c (patch) | |
tree | 6be42d73c775e259df7de231ed0a7c0d40451498 /llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | |
parent | edad1288fd85b7bb4056be1ed5abd1247c570781 (diff) | |
download | bcm5719-llvm-045371a744d98381548f6cd9969f2232e48de34c.tar.gz bcm5719-llvm-045371a744d98381548f6cd9969f2232e48de34c.zip |
make DAG isel the default
llvm-svn: 25282
Diffstat (limited to 'llvm/lib/Target/Alpha/AlphaTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/Alpha/AlphaTargetMachine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp index 21a7f989810..ea2348080cd 100644 --- a/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp +++ b/llvm/lib/Target/Alpha/AlphaTargetMachine.cpp @@ -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)); |