[all-commits] [llvm/llvm-project] a40a08: [mlir][Linalg] Teach constant -> generic op fusion...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Wed Sep 22 13:42:04 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a40a08ed988f4da0183622ff62bc151712bd9de0
https://github.com/llvm/llvm-project/commit/a40a08ed988f4da0183622ff62bc151712bd9de0
Author: MaheshRavishankar <ravishankarm at google.com>
Date: 2021-09-22 (Wed, 22 Sep 2021)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
M mlir/test/Dialect/Linalg/fusion-elementwise-ops.mlir
Log Message:
-----------
[mlir][Linalg] Teach constant -> generic op fusion to handle scalar constants.
The current folder of constant -> generic op only handles splat
constants. The same logic holds for scalar constants. Teach the
pattern to handle such cases.
Differential Revision: https://reviews.llvm.org/D109982
More information about the All-commits
mailing list