[all-commits] [llvm/llvm-project] e982d7: [mlir] Reuse pack dest in tensor.pack decompositio...
Max191 via All-commits
all-commits at lists.llvm.org
Tue Sep 10 07:45:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e982d7fd7c127f5be7b92c1c073e32816c266b7d
https://github.com/llvm/llvm-project/commit/e982d7fd7c127f5be7b92c1c073e32816c266b7d
Author: Max191 <44243577+Max191 at users.noreply.github.com>
Date: 2024-09-10 (Tue, 10 Sep 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
M mlir/test/Dialect/Linalg/transform-lower-pack.mlir
Log Message:
-----------
[mlir] Reuse pack dest in tensor.pack decomposition (#108025)
In the `lowerPack` transform, there is a special case for lowering into
a simple `tensor.pad` + `tensor.insert_slice`, but the destination
becomes a newly created `tensor.empty`. This PR fixes the transform to
reuse the original destination of the `tensor.pack`.
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