aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2020-03-02 15:18:41 +0100
committerAlex Zinenko <zinenko@google.com>2020-03-03 17:08:28 +0100
commitefa2d533773163fafa182bd66003cf4527d46a0f (patch)
tree1f2d48a6a613c0abfa44946f17a72f52adb60554 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent680a75e1e45b36ffeea95b5d0c0744d7f7e83be1 (diff)
downloadllvm-efa2d533773163fafa182bd66003cf4527d46a0f.zip
llvm-efa2d533773163fafa182bd66003cf4527d46a0f.tar.gz
llvm-efa2d533773163fafa182bd66003cf4527d46a0f.tar.bz2
[mlir] error out on unsupported attribute kinds in LLVM global translation
Some attribute kinds are not supported as "value" attributes of `llvm.mlir.constant` when translating to LLVM IR. We were correctly reporting an error, but continuing the translation using an "undef" value instead, leading to a surprising mix of error messages and output IR. Abort the translation after the error is reported. Differential Revision: https://reviews.llvm.org/D75450
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions