Skip to content

Use one-shot-bufferize pass #11

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

Merged
merged 6 commits into from
Aug 1, 2024
Merged

Use one-shot-bufferize pass #11

merged 6 commits into from
Aug 1, 2024

Conversation

tkarna
Copy link
Collaborator

@tkarna tkarna commented Jul 9, 2024

Replace obsolete individual bufferization passes with one-shot-bufferize.
Adds a test to verify reshape op copy semantics.

Copy link
Contributor

@fschlimb fschlimb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

tkarna added 2 commits July 30, 2024 14:01
- do not bufferize func boudaries, we already use memrefs
- add canonicalize before remove-temporaries
- add deallocation pass
@tkarna
Copy link
Collaborator Author

tkarna commented Jul 30, 2024

Updated CPU pipeline. All tests pass, I have not seen any performance degradation. Good to go on my behalf.

@tkarna tkarna merged commit c00dcb4 into main Aug 1, 2024
2 checks passed
@tkarna tkarna deleted the one-shot branch August 1, 2024 11:05
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