diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-09-25 01:50:04 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-09-25 01:50:04 +0000 |
commit | 0d7bb10b8770d41571dd2d8b5a1743cf6b734327 (patch) | |
tree | a91d9dcd17b89d3a7c8ab5cde4b05e02fc713e02 /lib | |
parent | f031fcbae09db661a1f3edaa88edc572470d5142 (diff) | |
download | external_llvm-0d7bb10b8770d41571dd2d8b5a1743cf6b734327.zip external_llvm-0d7bb10b8770d41571dd2d8b5a1743cf6b734327.tar.gz external_llvm-0d7bb10b8770d41571dd2d8b5a1743cf6b734327.tar.bz2 |
New temporary option -new-cc-modeling-scheme to test the new cc modeling scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42283 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/TargetMachine.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index 6c00a3f..3c00428 100644 --- a/lib/Target/TargetMachine.cpp +++ b/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)); } //--------------------------------------------------------------------------- |