mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Make pattern isel default for ppc
Add new ppc beta option related to using condition registers Make pattern isel control flag (-enable-pattern-isel) global and tristate 0 == off 1 == on 2 == target default git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21309 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,6 +25,7 @@ namespace llvm {
|
||||
bool PrintMachineCode;
|
||||
bool NoFramePointerElim;
|
||||
bool NoExcessFPPrecision;
|
||||
int PatternISelTriState;
|
||||
};
|
||||
namespace {
|
||||
cl::opt<bool, true> PrintCode("print-machineinstrs",
|
||||
@@ -38,9 +39,13 @@ namespace {
|
||||
cl::init(false));
|
||||
cl::opt<bool, true>
|
||||
DisableExcessPrecision("disable-excess-fp-precision",
|
||||
cl::desc("Disable optimizations that may increase FP precision"),
|
||||
cl::location(NoExcessFPPrecision),
|
||||
cl::init(false));
|
||||
cl::desc("Disable optimizations that may increase FP precision"),
|
||||
cl::location(NoExcessFPPrecision),
|
||||
cl::init(false));
|
||||
cl::opt<int, true> PatternISel("enable-pattern-isel",
|
||||
cl::desc("sets the pattern ISel off(0), on(1), default(2)"),
|
||||
cl::location(PatternISelTriState),
|
||||
cl::init(2));
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user