mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-04 21:31:03 +00:00
This option doesn't need to be a target option. It can be in SDISel instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54336 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2b85dc3544
commit
6ac8df7f61
@ -101,11 +101,6 @@ namespace llvm {
|
||||
/// DisableJumpTables - This flag indicates jump tables should not be
|
||||
/// generated.
|
||||
extern bool DisableJumpTables;
|
||||
|
||||
/// DisableCorrectBranchFolding - This flag indicates whether the instruction
|
||||
/// selector should take care to update the CFG properly when
|
||||
/// folding branches.
|
||||
extern bool DisableCorrectBranchFolding;
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -53,6 +53,9 @@ static cl::opt<bool>
|
||||
EnableValueProp("enable-value-prop", cl::Hidden);
|
||||
static cl::opt<bool>
|
||||
EnableLegalizeTypes("enable-legalize-types", cl::Hidden);
|
||||
static cl::opt<bool>
|
||||
DisableCorrectBranchFolding("disable-correct-folding", cl::init(false),
|
||||
cl::Hidden);
|
||||
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
@ -40,7 +40,6 @@ namespace llvm {
|
||||
bool RealignStack;
|
||||
bool VerboseAsm;
|
||||
bool DisableJumpTables;
|
||||
bool DisableCorrectBranchFolding;
|
||||
}
|
||||
|
||||
static cl::opt<bool, true> PrintCode("print-machineinstrs",
|
||||
@ -164,11 +163,6 @@ DisableSwitchTables(cl::Hidden, "disable-jump-tables",
|
||||
cl::location(DisableJumpTables),
|
||||
cl::init(false));
|
||||
|
||||
static cl::opt<bool, true>
|
||||
DisableCorrectISelFolding(cl::Hidden, "disable-correct-folding",
|
||||
cl::desc("Do not perform correct branch folding in the instruction selector."),
|
||||
cl::location(DisableCorrectBranchFolding), cl::init(false));
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// TargetMachine Class
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user