mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
turn on dag isel by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23226 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
70b9b1098a
commit
73e37c35be
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user