diff options
author | Andrzej WarzyĆski <andrzej.warzynski@arm.com> | 2024-12-06 09:28:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 09:28:15 +0000 |
commit | 3eb7ccec58ae5c7360c6b871952f5f5d7f0a1860 (patch) | |
tree | d0b81989c11f16b52690d7083db374b130a4df94 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 6f5bffdfc0476d50a4dbcdba6946893ea3b0e2c8 (diff) | |
download | llvm-3eb7ccec58ae5c7360c6b871952f5f5d7f0a1860.zip llvm-3eb7ccec58ae5c7360c6b871952f5f5d7f0a1860.tar.gz llvm-3eb7ccec58ae5c7360c6b871952f5f5d7f0a1860.tar.bz2 |
[mlir][linalg] Add tests for tensor.unpack decomposition (#118786)
This commit adds additional tests and documentation for
`DecomposeOuterUnitDimsUnPackOpPattern` to ensure symmetry with its
counterpart for `tensor.pack`, `DecomposeOuterUnitDimsPackOpPattern`.
The new tests aim to improve implementation, documentation, and test
coverage for tensor.unpack. They cover the following scenarios:
* Static tile sizes: A simple `tensor.unpack` case
(`@simple_unpack_static_tiles`).
* Dynamic tile size: `tensor.unpack` with a single dynamic tile size
(`@simple_unpack_dynamic_tile`).
* Transpose: `tensor.unpack` with dynamic tile size and transpose
(`@simple_unpack_dynamic_tile_transpose`), currently commented out due
to some missing logic (see below)
* Scalable tile size: `tensor.unpack` with a scalable inner tile size
(@simple_unpack_scalable_tile).
Notes:
The test `@simple_unpack_dynamic_tile_transpose` is commented out
because the logic for capturing dynamic sizes for `tensor::EmptyOp` when
some tile sizes are dynamic is incomplete. This missing functionality
will be addressed in a follow-up patch.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions