diff options
author | Nate Begeman <natebegeman@mac.com> | 2005-04-15 22:12:16 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2005-04-15 22:12:16 +0000 |
commit | f8b02949e3d13e9b7cd38e029fcbf3e799366aa7 (patch) | |
tree | 025797138ecad26749d620e07ea0a4cb7d9755e5 /include/llvm/Target/TargetOptions.h | |
parent | da3f2968540b0925aee7bad0bf911883fb2c691b (diff) | |
download | external_llvm-f8b02949e3d13e9b7cd38e029fcbf3e799366aa7.zip external_llvm-f8b02949e3d13e9b7cd38e029fcbf3e799366aa7.tar.gz external_llvm-f8b02949e3d13e9b7cd38e029fcbf3e799366aa7.tar.bz2 |
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/llvm/Target/TargetOptions.h')
-rw-r--r-- | include/llvm/Target/TargetOptions.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index 887e404..a403843 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 |