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:
Owen Anderson 2008-08-05 00:27:28 +00:00
parent 2b85dc3544
commit 6ac8df7f61
3 changed files with 3 additions and 11 deletions

View File

@ -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

View File

@ -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

View File

@ -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
//