From 9c90725eaee5a00e5dd450e51c4070afd7081472 Mon Sep 17 00:00:00 2001 From: Frederik Gossen Date: Mon, 12 Jul 2021 15:38:25 +0200 Subject: [PATCH] [MLIR] Fix documentation of the `ExecutionEngine` in the toy tutorial example Differential Revision: https://reviews.llvm.org/D105813 --- mlir/docs/Tutorials/Toy/Ch-6.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mlir/docs/Tutorials/Toy/Ch-6.md b/mlir/docs/Tutorials/Toy/Ch-6.md index 2c7390cb7c87..565cc703fe20 100644 --- a/mlir/docs/Tutorials/Toy/Ch-6.md +++ b/mlir/docs/Tutorials/Toy/Ch-6.md @@ -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();