Previous the textual form of the pass pipeline would implicitly nest,
instead we opt for the explicit form here: this has less surprise.
This also avoids asserting in the bindings when passing a pass pipeline
with incorrect nesting.
Paths
| Differential D91233
Disable implicit nesting on parsing textual pass pipeline ClosedPublic Authored by mehdi_amini on Nov 10 2020, 9:41 PM.
Details Summary Previous the textual form of the pass pipeline would implicitly nest, This also avoids asserting in the bindings when passing a pass pipeline
Diff Detail
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptNov 10 2020, 9:41 PM
mehdi_amini added inline comments. This revision is now accepted and ready to land.Nov 11 2020, 9:43 AM rriddle added inline comments.
This revision was landed with ongoing or failed builds.Nov 11 2020, 11:22 AM Closed by commit rGa62d38a90d2f: Disable implicit nesting on parsing textual pass pipeline (authored by mehdi_amini). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 304395 mlir/include/mlir/Pass/PassManager.h
mlir/include/mlir/Pass/PassRegistry.h
mlir/lib/Pass/Pass.cpp
mlir/lib/Pass/PassRegistry.cpp
mlir/lib/Support/MlirOptMain.cpp
mlir/test/Bindings/Python/pass_manager.py
mlir/test/Pass/pipeline-options-parsing.mlir
mlir/test/Pass/pipeline-parsing.mlir
|
nit: Can we just have a getNesting to match the setNesting?