这是indexloc提供的服务,不要输入任何密码
Skip to content

Cherry-pick "Restrict linalg.pack to not have extra padding sizes." #21424

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hanhanW
Copy link
Contributor

@hanhanW hanhanW commented Jul 19, 2025

No description provided.

Signed-off-by: hanhanW <hanhan0912@gmail.com>
@hanhanW hanhanW force-pushed the users/hanhanW/test-restrict-pack-semantic branch from f0088dc to ee9c0e3 Compare July 24, 2025 18:25
@hanhanW
Copy link
Contributor Author

hanhanW commented Jul 24, 2025

@nirvedhmeshram @YashDeshpande25 FYI, @Max191 told me that this may impact your work, since I'm refining the pack/unpack semantics.

See llvm/llvm-project#149624 for more details, the "artificial" padding is not allowed after I land it in upstream. The unpack op follows the constraint for matching the semantics.

@hanhanW
Copy link
Contributor Author

hanhanW commented Jul 24, 2025

#21488 fixes the VMVX failure. The tensor_pad.mlir failure is legacy, I'll remove the support in other PR.

@hanhanW
Copy link
Contributor Author

hanhanW commented Jul 24, 2025

It turns out that the legacy pass is not used at all, I'll delete it in #21489

hanhanW added 2 commits July 24, 2025 13:53
Signed-off-by: hanhanW <hanhan0912@gmail.com>
- Rename it to `materialize_encoding_vmvx.mlir` to follow the naming
  convention.
- Delete the legacy `tensor.extract_slice` op from tests, because
  UnSetEncodingOp has slicing semantics.

Signed-off-by: hanhanW <hanhan0912@gmail.com>
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.

1 participant