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.
Details
Details
Summary
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
springerm added a child revision: D152174: [mlir][vector] Use transform.apply_patterns in vector tests.Jun 5 2023, 9:06 AM
This revision is now accepted and ready to land.Jun 5 2023, 11:26 AM
Closed by commit rG5a10f207cc37: [mlir][transform] Add region to ApplyPatternsOp (authored by springerm). · Explain WhyJun 6 2023, 12:16 AM
This revision was automatically updated to reflect the committed changes.