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

[Codegen] Allow memref type propagation through collapse_shape #19400

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

Max191
Copy link
Contributor

@Max191 Max191 commented Dec 6, 2024

This PR adds support for propagating memref type changes through memref.collapse_shape ops in the replaceMemrefUsesAndPropagateType util function. This propagation is used in allocation padding, since the strides of the memref type change after padding.

Copy link
Contributor

@nirvedhmeshram nirvedhmeshram left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Max Dawkins <max.dawkins@gmail.com>
@Max191 Max191 force-pushed the propagate-memref-type-collapse branch from 6055171 to 596a4b8 Compare January 16, 2025 18:09
@Max191 Max191 merged commit dde5992 into iree-org:main Jan 17, 2025
37 checks passed
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