aboutsummaryrefslogtreecommitdiff
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index 8fc566e84f..ec4f2558e6 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -30,6 +30,12 @@ namespace llvm {
};
}
+ // @LOCALMOD-BEGIN
+ /// TLSUseCall - This flag enables the use of a function call to get the
+ /// thread pointer for TLS accesses, instead of using inline code.
+ extern bool TLSUseCall;
+ // @LOCALMOD-END
+
namespace FPOpFusion {
enum FPOpFusionMode {
Fast, // Enable fusion of FP ops wherever it's profitable.