Page MenuHomePhabricator

[mlir][doc] Fix usage of PatternApplicator.
Needs ReviewPublic

Authored by ingomueller-net on May 9 2022, 8:06 AM.

Details

Reviewers
nicolasvasilache
Summary

The constructor of PatternApplicator doesn't have a constructor that
accepts only a RewritePatternSet as currently used in the example
code in PatternRewriter.md. Instead, one has to turn it into a
FrozenRewritePatternSet.

Diff Detail

Event Timeline

ingomueller-net created this revision.May 9 2022, 8:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2022, 8:06 AM
ingomueller-net requested review of this revision.May 9 2022, 8:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 9 2022, 8:06 AM