Skip to content

Commit b93f4d0

Browse files
frgossenmemfrob
authored and
memfrob
committed
[MLIR] Fix documentation of the ExecutionEngine in the toy tutorial example
Differential Revision: https://reviews.llvm.org/D105813
1 parent 0b45ba3 commit b93f4d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mlir/docs/Tutorials/Toy/Ch-6.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ int runJit(mlir::ModuleOp module) {
293293
294294
// Create an MLIR execution engine. The execution engine eagerly JIT-compiles
295295
// the module.
296-
auto maybeEngine = mlir::ExecutionEngine::create(module, optPipeline);
296+
auto maybeEngine = mlir::ExecutionEngine::create(module,
297+
/*llvmModuleBuilder=*/nullptr, optPipeline);
297298
assert(maybeEngine && "failed to construct an execution engine");
298299
auto &engine = maybeEngine.get();
299300

0 commit comments

Comments
 (0)