Skip to content

[Codegen] Simplify tensor load/store padding materialization - #21160

Merged
jtuyls merged 1 commit into
iree-org:mainfrom
jtuyls:simplify-padding-materialization
Jun 24, 2025
Merged

jtuyls merged 1 commit into
iree-org:mainfrom
jtuyls:simplify-padding-materialization

Conversation

@jtuyls

@jtuyls jtuyls commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

Towards collapsing the padding encoding materialization into the generic encoding materialization: #20160.

I don't think the intermediate extract and insert slices are needed and removing them will streamline the implementation with the generic one, so that we can later combine them into a single implementation in follow-up work.

@jtuyls
jtuyls requested a review from hanhanW as a code owner June 23, 2025 09:58
@jtuyls
jtuyls requested review from hanhanW and kuhar and removed request for hanhanW June 23, 2025 09:58
@jtuyls
jtuyls force-pushed the simplify-padding-materialization branch from 491cb5c to 7b8a648 Compare June 23, 2025 12:00
@jtuyls
jtuyls merged commit 2ba0e0a into iree-org:main Jun 24, 2025
@jtuyls
jtuyls deleted the simplify-padding-materialization branch June 24, 2025 06:56

@hanhanW hanhanW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks! I observed the same thing, and I wanted to remove it before.

AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
Towards collapsing the padding encoding materialization into the generic
encoding materialization: #20160.

I don't think the intermediate extract and insert slices are needed and
removing them will streamline the implementation with the generic one,
so that we can later combine them into a single implementation in
follow-up work.

Signed-off-by: Jorn Tuyls <[email protected]>
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.

3 participants