This revision extends the PDL dialect to add support for variadic operands and results, with ranges of these values represented via the recently added !pdl.range type. To support this extension, three new operations have been added that closely match the single variant:
- pdl.operands : Define a range of input operands.
- pdl.results : Extract a range of results from an operation.
- pdl.types :Define a handle to a range of types.
Support for these in the pdl interpreter dialect and byte code will be added in followup revisions.
Depends On D95720
Is result the only other mechanism? The description here is a bit opaque, makes me wonder what other cases there are