[all-commits] [llvm/llvm-project] 69011a: [mlir][Linalg] Make Elementwise op fusion return a...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Tue Jan 31 12:34:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 69011a2ad0ce8662f69d3abef12280b1f463f99c
https://github.com/llvm/llvm-project/commit/69011a2ad0ce8662f69d3abef12280b1f463f99c
Author: Mahesh Ravishankar <ravishankarm at google.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
A mlir/test/Dialect/Linalg/fusion-multiuse-producer.mlir
M mlir/test/lib/Dialect/Linalg/TestLinalgElementwiseFusion.cpp
Log Message:
-----------
[mlir][Linalg] Make Elementwise op fusion return a map from existing values to values in the fused op.
This replacement can be used to eliminate all uses of the
producer/consumer for case where producer/consumer has other uses
outside of the producer/consumer pair. This makes the
producer/consumer dead.
Add test and minor fixup to the test harness.
Reviewed By: hanchung
Differential Revision: https://reviews.llvm.org/D142848
More information about the All-commits
mailing list