forked from OSchip/llvm-project
Revert "Fix MLIR Toy tutorial JIT example and add a test to cover it"
This reverts commit ae15b1e7ad
.
This commit caused failures on the mlir windows buildbot
This commit is contained in:
parent
cb1f1aab90
commit
f36060417a
|
@ -240,7 +240,7 @@ int runJit(mlir::ModuleOp module) {
|
|||
auto &engine = maybeEngine.get();
|
||||
|
||||
// Invoke the JIT-compiled function.
|
||||
auto invocationResult = engine->invokePacked("main");
|
||||
auto invocationResult = engine->invoke("main");
|
||||
if (invocationResult) {
|
||||
llvm::errs() << "JIT invocation failed\n";
|
||||
return -1;
|
||||
|
|
|
@ -241,7 +241,7 @@ int runJit(mlir::ModuleOp module) {
|
|||
auto &engine = maybeEngine.get();
|
||||
|
||||
// Invoke the JIT-compiled function.
|
||||
auto invocationResult = engine->invokePacked("main");
|
||||
auto invocationResult = engine->invoke("main");
|
||||
if (invocationResult) {
|
||||
llvm::errs() << "JIT invocation failed\n";
|
||||
return -1;
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# RUN: toyc-ch6 -emit=jit %s
|
||||
|
||||
def main() {
|
||||
print([[1, 2], [3, 4]]);
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
# RUN: toyc-ch7 -emit=jit %s
|
||||
|
||||
def main() {
|
||||
print([[1, 2], [3, 4]]);
|
||||
}
|
Loading…
Reference in New Issue