This is an error prone behavior, I frequently have ~20 min debugging sessions when I hit
an unexpected implicit nesting. This default makes the C++ API safer for users.
Depends On D90669
Paths
| Differential D90671
Make the implicit nesting behavior of the PassManager user-controllable and default to false ClosedPublic Authored by mehdi_amini on Nov 2 2020, 11:06 PM.
Details Summary This is an error prone behavior, I frequently have ~20 min debugging sessions when I hit Depends On D90669
Diff Detail
Unit TestsFailed
Event TimelineHerald added subscribers: stephenneuendorffer, nicolasvasilache. · View Herald TranscriptNov 2 2020, 11:06 PM Comment Actions Nice, this is really clean. Can you add a unit test exercising the fatal error?
This revision is now accepted and ready to land.Nov 2 2020, 11:25 PM
This revision was landed with ongoing or failed builds.Nov 3 2020, 3:18 AM Closed by commit rG008b9d97cb79: Make the implicit nesting behavior of the PassManager user-controllable and… (authored by mehdi_amini). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions They are encouraged to, but we don't consider the implicit behavior deprecated so they do how they see fit.
Revision Contents
Diff 302469 mlir/examples/toy/Ch5/toyc.cpp
mlir/examples/toy/Ch6/toyc.cpp
mlir/examples/toy/Ch7/toyc.cpp
mlir/include/mlir/Pass/PassManager.h
mlir/lib/Pass/Pass.cpp
mlir/lib/Support/MlirOptMain.cpp
mlir/test/lib/Transforms/TestConvVectorization.cpp
mlir/test/lib/Transforms/TestDynamicPipeline.cpp
mlir/unittests/Pass/PassManagerTest.cpp
|
This deserves some documentation.