From 73e37c35be074588f7709a626acfbba5b2a33afa Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 2 Sep 2005 19:53:54 +0000 Subject: [PATCH] turn on dag isel by default git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23226 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCTargetMachine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index 8ff9d8bb0d5..1acd01de31b 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 EnablePPCDAGDAG("enable-ppc-dag-isel", cl::Hidden, - cl::desc("Enable DAG-to-DAG isel for PPC (beta)")); + static cl::opt DisablePPCDAGDAG("disable-ppc-dag-isel", cl::Hidden, + cl::desc("Disable DAG-to-DAG isel for PPC")); // Register the targets RegisterTarget @@ -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)); -- 2.34.1