summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-09-25 01:50:04 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-09-25 01:50:04 +0000
commit8a7dec736df64af1c1b94ad2150b4521ff3dbb5c (patch)
tree0e89dac319578c424ae07940e73c0a93fd6dd6f8 /llvm/lib/Target/TargetMachine.cpp
parent43686dad3d5e2da63205e101074c4236f4e64526 (diff)
downloadbcm5719-llvm-8a7dec736df64af1c1b94ad2150b4521ff3dbb5c.tar.gz
bcm5719-llvm-8a7dec736df64af1c1b94ad2150b4521ff3dbb5c.zip
New temporary option -new-cc-modeling-scheme to test the new cc modeling scheme.
llvm-svn: 42283
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index 6c00a3f492b..3c00428a460 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/lib/Target/TargetMachine.cpp
@@ -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));
}
//---------------------------------------------------------------------------
OpenPOWER on IntegriCloud