aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/legacy_flags
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-07-10 16:37:45 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-07-10 16:42:42 -0700
commit0bd57e3e315956e5751987f5601edd95d5566bc5 (patch)
tree5f4a5d3467f4616b9798a149e928a795b12273c5 /tensorflow/compiler/xla/legacy_flags
parent9b94d1091134e203f4a57d10b4a86f63d0e1ce19 (diff)
Dump LLVM IR to disk (when asked to) as individual files, and not a single
concatenated file. This is a bit more usable since we can feed these files directly to opt, llc etc. PiperOrigin-RevId: 161459565
Diffstat (limited to 'tensorflow/compiler/xla/legacy_flags')
-rw-r--r--tensorflow/compiler/xla/legacy_flags/debug_options_flags.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/legacy_flags/debug_options_flags.cc b/tensorflow/compiler/xla/legacy_flags/debug_options_flags.cc
index 9442a16ee5..e7c037f3f5 100644
--- a/tensorflow/compiler/xla/legacy_flags/debug_options_flags.cc
+++ b/tensorflow/compiler/xla/legacy_flags/debug_options_flags.cc
@@ -140,8 +140,9 @@ void AllocateFlags() {
tensorflow::Flag("xla_embed_ir_in_executable",
&flag_values->xla_embed_ir_in_executable,
"Embed the compiler IR as a string in the executable."),
- tensorflow::Flag("xla_dump_ir_to", &flag_values->xla_dump_ir_to,
- "Dump the compiler IR into this file/path."),
+ tensorflow::Flag(
+ "xla_dump_ir_to", &flag_values->xla_dump_ir_to,
+ "Dump the compiler IR into this directory as individual files."),
tensorflow::Flag("xla_eliminate_hlo_implicit_broadcast",
&flag_values->xla_eliminate_hlo_implicit_broadcast,
"Eliminate implicit broadcasts when lowering user "