mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
This option doesn't need to be a target option. It can be in SDISel instead.
llvm-svn: 54336
This commit is contained in:
parent
231111faf9
commit
32ae9380f1
@ -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…
Reference in New Issue
Block a user