[all-commits] [llvm/llvm-project] 16e82d: [mlir] Add primitive transform pattern to rewrite ...
Ahmed S. Taei via All-commits
all-commits at lists.llvm.org
Tue Jan 28 11:23:50 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 16e82d855a1bbedee8035a55680b9c9744479071
https://github.com/llvm/llvm-project/commit/16e82d855a1bbedee8035a55680b9c9744479071
Author: Ahmed Taei <ataei at google.com>
Date: 2020-01-28 (Tue, 28 Jan 2020)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/LinalgTransforms.cpp
M mlir/test/Dialect/Linalg/transform-patterns.mlir
M mlir/test/lib/DeclarativeTransforms/TestLinalgTransformPatterns.td
Log Message:
-----------
[mlir] Add primitive transform pattern to rewrite linalg.fill into vector.broadcast form.
Summary:
This diff adds a transformation patter to rewrite linalg.fill as broadcasting a scaler into a vector.
It uses the same preconditioning as matmul (memory is contiguous).
Reviewers: nicolasvasilache
Subscribers: mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73391
More information about the All-commits
mailing list