diff options
author | Mehdi Amini <joker.eph@gmail.com> | 2021-04-08 22:15:39 +0000 |
---|---|---|
committer | Mehdi Amini <joker.eph@gmail.com> | 2021-04-08 23:21:27 +0000 |
commit | 38b106f6815716db4757a813d28ba4649d083c14 (patch) | |
tree | bbc0f1eae49298cf678506b366a02b45a726ce20 /llvm/lib/Support/FileOutputBuffer.cpp | |
parent | 2f181086b5cbbe83c4492aa44484a77ed06ec812 (diff) | |
download | llvm-38b106f6815716db4757a813d28ba4649d083c14.zip llvm-38b106f6815716db4757a813d28ba4649d083c14.tar.gz llvm-38b106f6815716db4757a813d28ba4649d083c14.tar.bz2 |
Improve error message when tring to export to LLVM IR with a dialect missing the interface
Dialects can be translated to LLVM IR when they have the
LLVMTranslationDialectInterface interface registered. In case the
interface isn't explicitly registered, even the LLVM dialect can't be
exported to LLVM IR. This make the error message more explicit on this.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D96729
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions