This adds a --no-implicit-module option, which disables the insertion
of a top-level builtin.module during parsing. The top-level op is
required to have the SymbolTable trait.
The majority of the change here is removing ModuleOp from interfaces.
Paths
| Differential D134238
[mlir-cpu-runner] Support parsing operations other than 'builtin.module' as top-level ClosedPublic Authored by rkayaith on Sep 19 2022, 4:27 PM.
Details Summary This adds a --no-implicit-module option, which disables the insertion The majority of the change here is removing ModuleOp from interfaces.
Diff Detail
Event Timelinerkayaith added a parent revision: D134237: [mlir-translate] Support parsing operations other than 'builtin.module' as top-level. rkayaith added a parent revision: D133645: [mlir-opt] Support parsing operations other than 'builtin.module' as top-level. rkayaith removed a parent revision: D134237: [mlir-translate] Support parsing operations other than 'builtin.module' as top-level. Comment Actions Needs a rebase?
rkayaith retitled this revision from [mlir-cpu-runner] Support parsing operations other than builtin.module as top-level to [mlir-cpu-runner] Support parsing operations other than 'builtin.module' as top-level. Comment Actionsrebase rkayaith marked an inline comment as done. Comment Actionsupdate docstrings that reference "MLIR module" rkayaith removed a parent revision: D133645: [mlir-opt] Support parsing operations other than 'builtin.module' as top-level.Sep 27 2022, 6:47 PM This revision is now accepted and ready to land.Oct 3 2022, 12:17 AM Closed by commit rG200889fbd91b: [mlir-cpu-runner] Support parsing operations other than 'builtin.module' as top… (authored by rkayaith). · Explain WhyOct 3 2022, 12:37 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 461410 mlir/include/mlir/ExecutionEngine/ExecutionEngine.h
mlir/include/mlir/ExecutionEngine/JitRunner.h
mlir/lib/ExecutionEngine/ExecutionEngine.cpp
mlir/lib/ExecutionEngine/JitRunner.cpp
|
We should likely drop the module or tweak the wording a bit.