mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 19:08:21 +08:00
[mlir][ExecutionEngine] propagate errors in mlirExecutionEngineCreate (#170592)
This commit is contained in:
@@ -71,6 +71,7 @@ def testInvalidModule():
|
||||
func.func @foo() { return }
|
||||
"""
|
||||
)
|
||||
# CHECK: error: cannot be converted to LLVM IR: missing `LLVMTranslationDialectInterface` registration for dialect for op: func.func
|
||||
# CHECK: Got RuntimeError: Failure while creating the ExecutionEngine.
|
||||
try:
|
||||
execution_engine = ExecutionEngine(module)
|
||||
|
||||
Reference in New Issue
Block a user