This is an archive of the discontinued LLVM Phabricator instance.

[mlir] separable registration of operation interfaces
ClosedPublic

Authored by ftynse on Jun 15 2021, 6:27 AM.

Details

Summary

This is similar to attribute and type interfaces and mostly the same mechanism
(FallbackModel / ExternalModel, ODS generation). There are minor differences in
how the concept-based polymorphism is implemented for operations that are
accounted for by ODS backends, and this essentially adds a test and exposes the
API.

Diff Detail

Event Timeline

ftynse created this revision.Jun 15 2021, 6:27 AM
ftynse requested review of this revision.Jun 15 2021, 6:27 AM
ftynse updated this revision to Diff 352123.Jun 15 2021, 6:34 AM

Extend the documentation.

rriddle accepted this revision.Jun 17 2021, 1:48 AM
rriddle added inline comments.
mlir/test/lib/Dialect/Test/TestInterfaces.td
103
106
This revision is now accepted and ready to land.Jun 17 2021, 1:48 AM
This revision was automatically updated to reflect the committed changes.