summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-04-15 22:12:16 +0000
committerNate Begeman <natebegeman@mac.com>2005-04-15 22:12:16 +0000
commitf8b02949e3d13e9b7cd38e029fcbf3e799366aa7 (patch)
tree025797138ecad26749d620e07ea0a4cb7d9755e5 /include
parentda3f2968540b0925aee7bad0bf911883fb2c691b (diff)
downloadllvm-f8b02949e3d13e9b7cd38e029fcbf3e799366aa7.tar.gz
llvm-f8b02949e3d13e9b7cd38e029fcbf3e799366aa7.tar.bz2
llvm-f8b02949e3d13e9b7cd38e029fcbf3e799366aa7.tar.xz
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21309 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetOptions.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index 887e404f74..a4038430cb 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -34,6 +34,13 @@ namespace llvm {
/// 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