Skip to content

Commit f360604

Browse files
committed
Revert "Fix MLIR Toy tutorial JIT example and add a test to cover it"
This reverts commit ae15b1e. This commit caused failures on the mlir windows buildbot
1 parent cb1f1aa commit f360604

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

mlir/examples/toy/Ch6/toyc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ int runJit(mlir::ModuleOp module) {
240240
auto &engine = maybeEngine.get();
241241

242242
// Invoke the JIT-compiled function.
243-
auto invocationResult = engine->invokePacked("main");
243+
auto invocationResult = engine->invoke("main");
244244
if (invocationResult) {
245245
llvm::errs() << "JIT invocation failed\n";
246246
return -1;

mlir/examples/toy/Ch7/toyc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ int runJit(mlir::ModuleOp module) {
241241
auto &engine = maybeEngine.get();
242242

243243
// Invoke the JIT-compiled function.
244-
auto invocationResult = engine->invokePacked("main");
244+
auto invocationResult = engine->invoke("main");
245245
if (invocationResult) {
246246
llvm::errs() << "JIT invocation failed\n";
247247
return -1;

mlir/test/Examples/Toy/Ch6/jit.toy

Lines changed: 0 additions & 5 deletions
This file was deleted.

mlir/test/Examples/Toy/Ch7/jit.toy

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)