[all-commits] [llvm/llvm-project] 7cedd9: [mlir][Linalg] Add a transform.structured.lower_un...
Nicolas Vasilache via All-commits
all-commits at lists.llvm.org
Wed Feb 1 02:33:43 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7cedd956d0602bf6aca24c1fa5eda2bd585750ac
https://github.com/llvm/llvm-project/commit/7cedd956d0602bf6aca24c1fa5eda2bd585750ac
Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
Date: 2023-02-01 (Wed, 01 Feb 2023)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.h
M mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
M mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
M mlir/test/Dialect/Linalg/transform-lower-pack.mlir
Log Message:
-----------
[mlir][Linalg] Add a transform.structured.lower_unpack op
This revision introduces `transform.structured.lower_unpack` which allows
rewriting a `tensor.unpack` to `transpose` (`linalg.generic`) + `tensor.empty` + `tensor.collapse_shape` + `tensor.extract_slice`
The implementation is currently limited to static pack ops that do not have outer_dims permutations.
Differential Revision: https://reviews.llvm.org/D142889
More information about the All-commits
mailing list