Page MenuHomePhabricator

[mlir][AttrTypeGen] Add support for specifying a "accessor" type of a parameter

Authored by rriddle on Aug 23 2021, 3:43 PM.



This allows for using a different type when accessing a parameter than the
one used for storage. This allows for returning parameters by reference,
enables using more optimized/convient reference results, and more.

Depends On D108589

Diff Detail

Event Timeline

rriddle created this revision.Aug 23 2021, 3:43 PM
rriddle requested review of this revision.Aug 23 2021, 3:43 PM
jpienaar accepted this revision.Aug 23 2021, 5:38 PM
This revision is now accepted and ready to land.Aug 23 2021, 5:38 PM