[all-commits] [llvm/llvm-project] 40052b: [mlir][tensor] Add option to fold only tensor.empt...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Jun 9 03:37:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 40052b08de6f73d7fb9b5e53c32ee21ba4d35fbc
https://github.com/llvm/llvm-project/commit/40052b08de6f73d7fb9b5e53c32ee21ba4d35fbc
Author: Matthias Springer <me at m-sp.org>
Date: 2023-06-09 (Fri, 09 Jun 2023)
Changed paths:
M mlir/include/mlir/Dialect/Tensor/TransformOps/TensorTransformOps.td
M mlir/include/mlir/Dialect/Tensor/Transforms/Transforms.h
M mlir/lib/Dialect/Tensor/TransformOps/TensorTransformOps.cpp
M mlir/lib/Dialect/Tensor/Transforms/EmptyOpPatterns.cpp
M mlir/test/Dialect/Tensor/fold-empty-op.mlir
M mlir/test/lib/Dialect/Tensor/TestTensorTransforms.cpp
Log Message:
-----------
[mlir][tensor] Add option to fold only tensor.empty with a single use
This is useful for transformations such as bufferization, which is looking for tensor.extract_slice/insert_slice pairs.
Also fix the documentation of the corresponding tranform op.
Differential Revision: https://reviews.llvm.org/D152455
More information about the All-commits
mailing list