Skip to content

[MLIR] Canonicalizer does not copy over rewrite listener from the config #64543

Closed
@Kuree

Description

@Kuree

void runOnOperation() override {
GreedyRewriteConfig config;
config.useTopDownTraversal = topDownProcessingEnabled;
config.enableRegionSimplification = enableRegionSimplification;
config.maxIterations = maxIterations;
config.maxNumRewrites = maxNumRewrites;
LogicalResult converged =

listener is not copied over and therefore disallows the use cases where we want to insert attributes to newly created operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions