This is an archive of the discontinued LLVM Phabricator instance.

[mlir][transform] Add region to ApplyPatternsOp
ClosedPublic

Authored by springerm on Jun 5 2023, 7:38 AM.

Details

Summary

Patterns should be selected by adding ops that implement PatternDescriptorOpInterface to the region of apply_pattern ops. Such ops can have operands, allowing for pattern parameterization. The existing way of selecting patterns from the PatternRegistry is deprecated.

Diff Detail