[llvm-commits] CVS: llvm/include/llvm/Target/TargetOptions.h

Nate Begeman natebegeman at mac.com
Fri Apr 15 15:12:28 PDT 2005



Changes in directory llvm/include/llvm/Target:

TargetOptions.h updated: 1.2 -> 1.3
---
Log message:

Make pattern isel default for ppc
Add new ppc beta option related to using condition registers
Make pattern isel control flag (-enable-pattern-isel) global and tristate
  0 == off
  1 == on
  2 == target default


---
Diffs of the changes:  (+7 -0)

 TargetOptions.h |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/include/llvm/Target/TargetOptions.h
diff -u llvm/include/llvm/Target/TargetOptions.h:1.2 llvm/include/llvm/Target/TargetOptions.h:1.3
--- llvm/include/llvm/Target/TargetOptions.h:1.2	Sat Jan 15 00:00:22 2005
+++ llvm/include/llvm/Target/TargetOptions.h	Fri Apr 15 17:12:15 2005
@@ -34,6 +34,13 @@
   /// over the place.
   extern bool NoExcessFPPrecision;
 
+  /// PatternISelTriState - This flag is enabled when -pattern-isel=X is
+  /// specified on the command line.  The default value is 2, in which case the
+  /// target chooses what is best for it.  Setting X to 0 forces the use of
+  /// a simple ISel if available, while setting it to 1 forces the use of a
+  /// pattern ISel if available.
+  extern int PatternISelTriState;
+
 } // End llvm namespace
 
 #endif






More information about the llvm-commits mailing list