Skip to content

Can we use --buffer-results-to-out-params? #764

Open
@erick-xanadu

Description

@erick-xanadu

--buffer-results-to-out-params is a pass in upstream MLIR that will modify functions that return memrefs to functions that receive memrefs parameters to denote the return values. In Catalyst we use this calling convention, but do not use this pass. Could it be possible to use this pass instead of writing custom transformations to achieve the same result?

Metadata

Metadata

Assignees

No one assigned

    Labels

    compilerPull requests that update the compilerenhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions