mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
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:
parent
a4c29d2037
commit
512c77e532
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user