[PATCH] D78463: [mlir][Linalg] NFC: Refactor fusion on tensors to enable extending itto fusing different kinds of linalg operations on tensors.

Mahesh Ravishankar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 19 16:01:35 PDT 2020


mravishankar created this revision.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: nicolasvasilache.
Herald added a project: LLVM.
mravishankar added a child revision: D78464: [mlir][Linalg] Add support for fusing linalg.tensor_reshape with linalg.generic operations..

The implementation of fusion on tensor was initially planned for just
GenericOps (and maybe IndexedGenericOps). With addition of
linalg.tensor_reshape, and potentially other such non-structured ops,
refactor the existing implementation to allow easier specification of
fusion between different linalg operations on tensors.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78463

Files:
  mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
  mlir/lib/Dialect/Linalg/Transforms/Fusion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78463.258629.patch
Type: text/x-patch
Size: 21037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200419/a5bfb3d8/attachment.bin>


More information about the llvm-commits mailing list