[MLIR] Fix documentation of the ExecutionEngine in the toy tutorial example

Differential Revision: https://reviews.llvm.org/D105813
This commit is contained in:
Frederik Gossen 2021-07-12 15:38:25 +02:00
parent bb0166dc72
commit 9c90725eae

View file

@ -293,7 +293,8 @@ int runJit(mlir::ModuleOp module) {
// Create an MLIR execution engine. The execution engine eagerly JIT-compiles
// the module.
auto maybeEngine = mlir::ExecutionEngine::create(module, optPipeline);
auto maybeEngine = mlir::ExecutionEngine::create(module,
/*llvmModuleBuilder=*/nullptr, optPipeline);
assert(maybeEngine && "failed to construct an execution engine");
auto &engine = maybeEngine.get();