[llvm-commits] [llvm] r42283 - in /llvm/trunk: include/llvm/Target/TargetOptions.h lib/Target/TargetMachine.cpp
Evan Cheng
evan.cheng at apple.com
Mon Sep 24 18:50:04 PDT 2007
Author: evancheng
Date: Mon Sep 24 20:50:04 2007
New Revision: 42283
URL: http://llvm.org/viewvc/llvm-project?rev=42283&view=rev
Log:
New temporary option -new-cc-modeling-scheme to test the new cc modeling scheme.
Modified:
llvm/trunk/include/llvm/Target/TargetOptions.h
llvm/trunk/lib/Target/TargetMachine.cpp
Modified: llvm/trunk/include/llvm/Target/TargetOptions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetOptions.h?rev=42283&r1=42282&r2=42283&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetOptions.h (original)
+++ llvm/trunk/include/llvm/Target/TargetOptions.h Mon Sep 24 20:50:04 2007
@@ -73,6 +73,10 @@
/// 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
Modified: llvm/trunk/lib/Target/TargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetMachine.cpp?rev=42283&r1=42282&r2=42283&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/TargetMachine.cpp Mon Sep 24 20:50:04 2007
@@ -31,6 +31,7 @@
bool UseSoftFloat;
bool NoZerosInBSS;
bool ExceptionHandling;
+ bool NewCCModeling;
Reloc::Model RelocationModel;
CodeModel::Model CMModel;
}
@@ -116,6 +117,11 @@
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));
}
//---------------------------------------------------------------------------
More information about the llvm-commits
mailing list