This diff adds functionality akin to register_attribute_builder but for Values, i.e., users can define functions that map to Python classes that wrap results from ops. Currently the selection is done in a metaclass using a regex match on the stringified type of the value but safer ways are possible (see this diff.
This is a draft revision that has not yet been submitted for review.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo