This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add support for the attribute verifiers in the dialect declaration generator.
ClosedPublic

Authored by rriddle on Mar 16 2020, 2:31 PM.

Details

Summary

This adds bitfields that map to the dialect attribute verifier hooks. This also moves over the Test dialect to have its declaration generated.

Diff Detail

Event Timeline

rriddle created this revision.Mar 16 2020, 2:31 PM
Herald added a reviewer: herhut. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
antiagainst accepted this revision.Mar 16 2020, 6:02 PM
antiagainst added inline comments.
mlir/include/mlir/Dialect/SPIRV/SPIRVBase.td
52

Nit: can we use an empty line between these bits and the extraClassDeclaration?

This revision is now accepted and ready to land.Mar 16 2020, 6:02 PM
rriddle updated this revision to Diff 250669.Mar 16 2020, 6:30 PM
rriddle marked an inline comment as done.

Resolve comments

This revision was automatically updated to reflect the committed changes.