New temporary option -new-cc-modeling-scheme to test the new cc modeling scheme.

llvm-svn: 42283
This commit is contained in:
Evan Cheng
2007-09-25 01:50:04 +00:00
parent 43686dad3d
commit 8a7dec736d
2 changed files with 10 additions and 0 deletions

View File

@@ -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));
}
//---------------------------------------------------------------------------