[all-commits] [llvm/llvm-project] 14e784: [mlir][Tensor] Fold destination-style ops into `te...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Tue Nov 7 21:42:45 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 14e7846d6e2c5c99c52ba3882e59bfb021a5f0fa
https://github.com/llvm/llvm-project/commit/14e7846d6e2c5c99c52ba3882e59bfb021a5f0fa
Author: MaheshRavishankar <1663364+MaheshRavishankar at users.noreply.github.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
[mlir][Tensor] Fold destination-style ops into `tensor.unpack` operation. (#71468)
The destination operand of the `tensor.unpack` operation is only needed
to carry shape information. So if the producer of the destination
operand implements the `DestinationStyleOpInterface`, then fold it into
the `tensor.unpack` operation by replacing the destination operand with
the destination for the source.
More information about the All-commits
mailing list