aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/xla.proto
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-06-23 12:58:51 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-06-23 13:03:21 -0700
commite01611369f29eb18565bc77512884b908fde70ff (patch)
tree0e7bf9ab225e802218bf6e9d5485b56ff9b5ad4d /tensorflow/compiler/xla/xla.proto
parent6ada43366663210beb0159b8c1a67b26ebfe6cb7 (diff)
Add a few diagnostic flags to help narrow down issues with the LLVM
backends. PiperOrigin-RevId: 159982441
Diffstat (limited to 'tensorflow/compiler/xla/xla.proto')
-rw-r--r--tensorflow/compiler/xla/xla.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/xla.proto b/tensorflow/compiler/xla/xla.proto
index 6dd7999b67..46dd28c04d 100644
--- a/tensorflow/compiler/xla/xla.proto
+++ b/tensorflow/compiler/xla/xla.proto
@@ -64,6 +64,18 @@ message DebugOptions {
// Enable flush-to-zero semantics in the GPU backend.
bool xla_gpu_ftz = 10;
+ // If true, in LLVM-based backends, emit !alias.scope metadata in
+ // generated IR.
+ bool xla_llvm_enable_alias_scope_metadata = 11;
+
+ // If true, in LLVM-based backends, emit !noalias metadata in the
+ // generated IR.
+ bool xla_llvm_enable_noalias_metadata = 12;
+
+ // If true, in LLVM-based backends, emit !invariant.load metadata in
+ // the generated IR.
+ bool xla_llvm_enable_invariant_load_metadata = 13;
+
// Extra options to pass to the compilation backend; specific interpretation
// of these values is left to the backend.
map<string, string> xla_backend_extra_options = 500;