forked from OSchip/llvm-project
New temporary option -new-cc-modeling-scheme to test the new cc modeling scheme.
llvm-svn: 42283
This commit is contained in:
parent
43686dad3d
commit
8a7dec736d
|
@ -73,6 +73,10 @@ namespace llvm {
|
|||
/// ExceptionHandling - This flag indicates that exception information should
|
||||
/// be emitted.
|
||||
extern bool ExceptionHandling;
|
||||
|
||||
/// NewCCModeling - This temporary flag indicates whether to use the new
|
||||
/// condition code modeling scheme.
|
||||
extern bool NewCCModeling;
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
|
|
@ -31,6 +31,7 @@ namespace llvm {
|
|||
bool UseSoftFloat;
|
||||
bool NoZerosInBSS;
|
||||
bool ExceptionHandling;
|
||||
bool NewCCModeling;
|
||||
Reloc::Model RelocationModel;
|
||||
CodeModel::Model CMModel;
|
||||
}
|
||||
|
@ -116,6 +117,11 @@ namespace {
|
|||
clEnumValN(CodeModel::Large, "large",
|
||||
" Large code model"),
|
||||
clEnumValEnd));
|
||||
cl::opt<bool, true>
|
||||
EnableNewCCModeling("new-cc-modeling-scheme",
|
||||
cl::desc("New CC modeling scheme."),
|
||||
cl::location(NewCCModeling),
|
||||
cl::init(false));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue