Make the implicit nesting behavior of the PassManager user-controllable and default...
authorMehdi Amini <joker.eph@gmail.com>
Tue, 3 Nov 2020 11:17:39 +0000 (11:17 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 3 Nov 2020 11:17:44 +0000 (11:17 +0000)
commit008b9d97cb791b8e3d89c7bc3ddd714ca3a61c80
tree34b7bf594235c620cf2cc2927297aff786d9cad1
parentcd7107a62b4fe887c7a8f3a3e226ec5e92b7e5f5
Make the implicit nesting behavior of the PassManager user-controllable and default to false

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

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D90671
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