Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MLIR][Bufferization] BufferResultsToOutParams: Add option to add attribute to output arguments #116

Conversation

mgehre-amd
Copy link
Collaborator

Adds a new pass option add-result-attr that will make the pass add the attribute
{bufferize.result} to each argument that was converted from a result.

To be able to test this, the pass option was added to the tablegen.
And then the existing manual option struct BufferResultsToOutParamsOptions
was renamed to BufferResultsToOutParamsOpts to not conflict.

Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
mgehre-amd and others added 3 commits February 29, 2024 07:32
Created using spr 1.3.6-beta.1

[skip ci]
Created using spr 1.3.6-beta.1
Created using spr 1.3.6-beta.1
@mgehre-amd mgehre-amd changed the base branch from users/mgehre/spr/feature/fused-ops.mlirbufferization-bufferresultstooutparams-add-option-to-add-attribute-to-output-arguments to feature/fused-ops February 29, 2024 06:34
@mgehre-amd mgehre-amd merged commit ee4d46c into feature/fused-ops Feb 29, 2024
4 checks passed
@mgehre-amd mgehre-amd deleted the users/mgehre/spr/mlirbufferization-bufferresultstooutparams-add-option-to-add-attribute-to-output-arguments branch February 29, 2024 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants