Add an option to enable StrongPHIElimination, for ease of testing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57259 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2008-10-07 20:22:28 +00:00
parent 3341262de2
commit 95dad830bb
6 changed files with 31 additions and 4 deletions

View File

@ -39,6 +39,7 @@ namespace llvm {
bool RealignStack;
bool VerboseAsm;
bool DisableJumpTables;
bool StrongPHIElim;
}
static cl::opt<bool, true> PrintCode("print-machineinstrs",
@ -157,6 +158,12 @@ DisableSwitchTables(cl::Hidden, "disable-jump-tables",
cl::location(DisableJumpTables),
cl::init(false));
static cl::opt<bool, true>
EnableStrongPHIElim(cl::Hidden, "strong-phi-elim",
cl::desc("Use strong PHI elimination."),
cl::location(StrongPHIElim),
cl::init(false));
//---------------------------------------------------------------------------
// TargetMachine Class
//