[all-commits] [llvm/llvm-project] 258256: [mlir] Add missing patterns to `linalg.decompose_p...
Andrzej Warzyński via All-commits
all-commits at lists.llvm.org
Fri Jan 3 01:11:59 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 258256821753504836f797e38d83a8e88daa424d
https://github.com/llvm/llvm-project/commit/258256821753504836f797e38d83a8e88daa424d
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2025-01-03 (Fri, 03 Jan 2025)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
M mlir/test/Dialect/Linalg/decompose-tensor-unpack-tile.mlir
M mlir/test/Dialect/Linalg/decompose-tensor-unpack.mlir
A mlir/test/Dialect/Linalg/td/decompose-unpack.mlir
Log Message:
-----------
[mlir] Add missing patterns to `linalg.decompose_pack_unpack` TD Op (#121400)
This PR is a follow-up to #116373 and #116439, where a Transform Dialect
(TD) operation was introduced to collect patterns for decomposing
tensor.pack. The second patch renamed the patterns and the TD Op.
Originally, adding patterns for `tensor.unpack` was marked as a TODO,
which this PR addresses.
No new tests are introduced in this PR. Instead, existing tests from:
* "decompose-tensor-unpack.mlir"
are reused. To achieve this:
* The test is updated to use the TD operation
`transform.apply_patterns.linalg.decompose_pack_unpack` instead of the
flag `--test-linalg-transform-patterns="test-decompose-tensor-unpack"`,
avoiding artificial tests created solely for the TD Op.
* The TD sequence is saved to a new file, "decompose_unpack.mlir", and
preloaded using the option.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list