10 #include "mlir/Transforms/GreedyPatternRewriteDriver.h"
11 #include "mlir/Transforms/Passes.h"
13 using namespace circt;
16 mlir::GreedyRewriteConfig config;
17 config.useTopDownTraversal =
true;
18 config.enableRegionSimplification = mlir::GreedySimplifyRegionLevel::Disabled;
19 return mlir::createCanonicalizerPass(config);
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
std::unique_ptr< Pass > createSimpleCanonicalizerPass()
Create a simple canonicalizer pass.