Skip to content

Refresh the uses of memref.assume_alignment in lit tests. #20925

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 2 commits into from
May 29, 2025

Conversation

hanhanW
Copy link
Contributor

@hanhanW hanhanW commented May 29, 2025

Few tests are updated to use the result of memref.assume_alignment because they care about the ops.

Many memref.assume_alignment ops are removed from many lit tests because they do not need them. They don't use them at their pass scope.

There are two tests not changed because of recent regression. I'll revisit it if I come back to the issue. For now, leave them as what they are:

  • SPIRV/test/tile_and_promote_cooperative_matrix.mlir
  • SPIRV/test/tile_and_vectorize_to_cooperative_ops.mlir

This is a follow-up to cbb7536

Few tests are updated to use the result of `memref.assume_alignment`
because they care about the ops.

Many `memref.assume_alignment` ops are removed from many lit tests
because they do not need them. They don't use them at their pass scope.

There are two tests not changed becaue of recent regression. I'l revisit
it if I come back to the issue. For now, leave them as what they are:
- SPIRV/test/tile_and_promote_cooperative_matrix.mlir
- SPIRV/test/tile_and_vectorize_to_cooperative_ops.mlir

Signed-off-by: hanhanW <[email protected]>
Signed-off-by: hanhanW <[email protected]>
@hanhanW hanhanW marked this pull request as ready for review May 29, 2025 03:40
@hanhanW hanhanW enabled auto-merge (squash) May 29, 2025 03:40
@hanhanW hanhanW merged commit b940558 into iree-org:main May 29, 2025
39 of 41 checks passed
@hanhanW hanhanW deleted the memref-assume-alignment-lit-cleanup branch May 29, 2025 04:07
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