diff options
author | Tobias Gysi <tobias.gysi@nextsilicon.com> | 2022-10-06 17:11:58 +0300 |
---|---|---|
committer | Tobias Gysi <tobias.gysi@nextsilicon.com> | 2022-10-06 17:33:09 +0300 |
commit | f47d5dce61cf2704dc15761cea8da4eaf1a7941a (patch) | |
tree | 8c55754cb566ac3038bb5c4fa3b430583b4e1059 /clang/lib/Driver/Driver.cpp | |
parent | 87883740ebb3f733985d47e7b3d6b0a4e6670c78 (diff) | |
download | llvm-f47d5dce61cf2704dc15761cea8da4eaf1a7941a.zip llvm-f47d5dce61cf2704dc15761cea8da4eaf1a7941a.tar.gz llvm-f47d5dce61cf2704dc15761cea8da4eaf1a7941a.tar.bz2 |
[mlir][llvmir] Simpler error handling in ConvertFromLLVMIR (nfc).
The revision renames some methods of the Importer and changes
the error handling to be closer the ModuleTranslation. In particular,
processValue -> lookupValue and processType -> convertType
now fail if the translation fails (instead of returning an error),
which simplifies the error handling.
The revision prepares a follow up commit that will import
LLVMIR intrinsics using tablegen.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D135349
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions