aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Target/TargetOptions.h')
-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