aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorWilliam S. Moses <gh@wsmoses.com>2021-08-17 18:22:04 -0400
committerWilliam S. Moses <gh@wsmoses.com>2021-08-18 11:09:43 -0400
commit8c2ff7b69e77a9eccf4a13bcc21dee5894b251af (patch)
treefe3b37ba5cea6e06117d6dbe55742b1294cc4d91 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent7151a8aada21c2f961f9d984a0e9c77ae6f3da08 (diff)
downloadllvm-8c2ff7b69e77a9eccf4a13bcc21dee5894b251af.zip
llvm-8c2ff7b69e77a9eccf4a13bcc21dee5894b251af.tar.gz
llvm-8c2ff7b69e77a9eccf4a13bcc21dee5894b251af.tar.bz2
[MLIR] Correct linkage of lowered globalop
LLVM considers global variables marked as externals to be defined within the module if it is initialized (including to an undef). Other external globals are considered as being defined externally and imported into the current translation unit. Lowering of MLIR Global Ops does not properly propagate undefined initializers, resulting in a global which is expected to be defined within the current TU, not being defined. Differential Revision: https://reviews.llvm.org/D108252
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions