Skip to content

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

Merged
hanhanW merged 2 commits into
iree-org:mainfrom
hanhanW:memref-assume-alignment-lit-cleanup
May 29, 2025
Merged

hanhanW merged 2 commits into
iree-org:mainfrom
hanhanW:memref-assume-alignment-lit-cleanup

Conversation

@hanhanW

@hanhanW hanhanW commented May 29, 2025 •

Copy link
Copy Markdown
Contributor

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
@hanhanW
hanhanW deleted the memref-assume-alignment-lit-cleanup branch May 29, 2025 04:07
AWoloszyn pushed a commit that referenced this pull request Dec 1, 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

---------

Signed-off-by: hanhanW <[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.

2 participants