[all-commits] [llvm/llvm-project] 1ff6d9: [mlir][linalg] Take artificial padding into accoun...
Han-Chung Wang via All-commits
all-commits at lists.llvm.org
Thu Jul 24 13:55:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ff6d9daec66fb151b9691386c9dad0209648465
https://github.com/llvm/llvm-project/commit/1ff6d9daec66fb151b9691386c9dad0209648465
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2025-07-24 (Thu, 24 Jul 2025)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/Linalg.h
M mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Linalg/Transforms/PackAndUnpackPatterns.cpp
M mlir/test/Dialect/Linalg/canonicalize.mlir
M mlir/test/Dialect/Tensor/fold-into-pack-and-unpack.mlir
Log Message:
-----------
[mlir][linalg] Take artificial padding into account for pack/unpack folding. (#150272)
The revision only folds the tensor.pad/extract_slice op into
linalg.pack/unpack ops only when it is safe to fold. It is not valid to
have artificial padding.
The documentation improvement and verifier update will be done in a
separate PR (i.e., https://github.com/llvm/llvm-project/pull/149624).
The revision is a step towards it.
---------
Signed-off-by: hanhanW <hanhan0912 at gmail.com>
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