This is an archive of the discontinued LLVM Phabricator instance.

[mlir][ODS] Add support for passing properties to `ref` in `custom`
ClosedPublic

Authored by zero9178 on Jul 14 2023, 7:52 AM.

Details

Summary

This is essentially a follow up to https://reviews.llvm.org/D155072

This adds support for also passing properties as ref parameter to custom. This requires the property to have been bound previously and will error otherwise. This makes it possible for an implementation of custom to take previously parsed data into account, creating nice context-dependent grammars :-)

Diff Detail

Event Timeline

zero9178 created this revision.Jul 14 2023, 7:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 14 2023, 7:52 AM
zero9178 requested review of this revision.Jul 14 2023, 7:52 AM
Mogball accepted this revision.Jul 14 2023, 8:51 AM
This revision is now accepted and ready to land.Jul 14 2023, 8:51 AM