aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-02 19:53:54 +0000
committerChris Lattner <sabre@nondot.org>2005-09-02 19:53:54 +0000
commit73e37c35be074588f7709a626acfbba5b2a33afa (patch)
tree53775f9b6237dfdc538e334cc7d5e0684900c151 /lib/Target/PowerPC/PPCTargetMachine.cpp
parent70b9b1098a82990cca7804ba6425e7aa151ea8b4 (diff)
turn on dag isel by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23226 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index 8ff9d8bb0d..1acd01de31 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -32,8 +32,8 @@ using namespace llvm;
namespace {
const char *PPC32ID = "PowerPC/32bit";
- static cl::opt<bool> EnablePPCDAGDAG("enable-ppc-dag-isel", cl::Hidden,
- cl::desc("Enable DAG-to-DAG isel for PPC (beta)"));
+ static cl::opt<bool> DisablePPCDAGDAG("disable-ppc-dag-isel", cl::Hidden,
+ cl::desc("Disable DAG-to-DAG isel for PPC"));
// Register the targets
RegisterTarget<PPC32TargetMachine>
@@ -86,7 +86,7 @@ bool PowerPCTargetMachine::addPassesToEmitFile(PassManager &PM,
PM.add(createUnreachableBlockEliminationPass());
// Install an instruction selector.
- if (EnablePPCDAGDAG)
+ if (!DisablePPCDAGDAG)
PM.add(createPPC32ISelDag(*this));
else
PM.add(createPPC32ISelPattern(*this));