Change linkage type of modules to external after dropping initializers
authorSanjoy Das <sanjoy@google.com>
Tue, 13 Feb 2018 22:55:24 +0000 (14:55 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Tue, 13 Feb 2018 23:03:42 +0000 (15:03 -0800)
commitdcfa59b8c32e44bcd16fbd58ce91e7d3f332be36
treeb28723d201cfa9f0c674bfa77bc94e6eea314ea9
parent858ce1bccd9dd084ed9cb35eb5629e3a349cc7c2
Change linkage type of modules to external after dropping initializers

It isn't legal to have private global variables without initializers.  In the
current state the -noconst.ll LLVM IR cannot be passed to opt.

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