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

[GlobalOpt] Improve reshape/empty cleanup in transpose propagation #17905

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

qedawkins
Copy link
Contributor

This adds a few simplifying patterns for reshape/empty/fill folding patterns now that the pass uses reshape propagation patterns. This helps cleanup the majority of transposed destinations, which are almost always either a fill or an empty.

@qedawkins qedawkins requested a review from hanhanW as a code owner July 15, 2024 14:03
This adds a few simplifying patterns for reshape/empty/fill folding
patterns now that the pass uses reshape propagation patterns. This helps
cleanup the majority of transposed destinations, which are almost always
either a fill or an empty.
@qedawkins qedawkins force-pushed the transpose_prop_cleanup branch from 7472c1c to 4be6a97 Compare August 5, 2024 23:08
@qedawkins qedawkins changed the title [GlobalOpt] Add reshape/empty cleanup patterns to transpose propagation [GlobalOpt] Improve reshape/empty cleanup in transpose propagation Aug 5, 2024
@qedawkins qedawkins requested a review from hanhanW August 5, 2024 23:18
Copy link
Contributor

@hanhanW hanhanW left a comment

Choose a reason for hiding this comment

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

LG, thanks!

@qedawkins qedawkins merged commit e22b78d into iree-org:main Aug 6, 2024
40 of 41 checks passed
@qedawkins qedawkins deleted the transpose_prop_cleanup branch August 6, 2024 13:06
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