Make LLVM IR dumps more readable
authorSanjoy Das <sanjoy@google.com>
Tue, 13 Feb 2018 20:45:27 +0000 (12:45 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 13 Feb 2018 20:49:18 +0000 (12:49 -0800)
commit14b3a42a42a488a32eae0951b9d4a92da2cd56a2
tree6fdb630ca3ad36cfbb4321538b72266731f09db9
parentdedafb73031c5588c1254e8fabd553031b15870a
Make LLVM IR dumps more readable

Before this the IR we dumped out would contain constant tensors that were
sometimes huge resulting in unweildy IR files.  With this change we dump out a
"noconst" IR file that has the constant initializers stripped out.

PiperOrigin-RevId: 185572700
tensorflow/compiler/xla/service/llvm_ir/BUILD
tensorflow/compiler/xla/service/llvm_ir/llvm_util.cc