Skip to content

Commit f47d5dc

Browse files
committed
[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
1 parent 8788374 commit f47d5dc

File tree

1 file changed

+63
-143
lines changed

1 file changed

+63
-143
lines changed

0 commit comments

Comments
 (0)