llvm-project/mlir
MaheshRavishankar c694588fc5 [mlir][Linalg] Add pattern to tile and fuse Linalg operations on buffers.
The pattern is structured similar to other patterns like
LinalgTilingPattern. The fusion patterns takes options that allows you
to fuse with producers of multiple operands at once.
- The pattern fuses only at the level that is known to be legal, i.e
  if a reduction loop in the consumer is tiled, then fusion should
  happen "before" this loop. Some refactoring of the fusion code is
  needed to fuse only where it is legal.
- Since the fusion on buffers uses the LinalgDependenceGraph that is
  not mutable in place the fusion pattern keeps the original
  operations in the IR, but are tagged with a marker that can be later
  used to find the original operations.

This change also fixes an issue with tiling and
distribution/interchange where if the tile size of a loop were 0 it
wasnt account for in these.

Differential Revision: https://reviews.llvm.org/D88435
2020-09-30 14:56:58 -07:00
..
cmake/modules [mlir] Make mlir_check_link_libraries() work with interface libraries 2020-08-14 11:39:04 -07:00
docs [mlir] Update docs referencing OpTrait::Symbol. 2020-09-30 03:55:54 +00:00
examples [mlir] Remove unneeded OpBuilder params. NFC. 2020-09-23 08:11:13 -07:00
include [mlir][Linalg] Add pattern to tile and fuse Linalg operations on buffers. 2020-09-30 14:56:58 -07:00
integration_test [mlir][Linalg] Tile sizes for Conv ops vectorization added as pass arguments 2020-09-30 11:31:28 +00:00
lib [mlir][Linalg] Add pattern to tile and fuse Linalg operations on buffers. 2020-09-30 14:56:58 -07:00
test [mlir][Linalg] Add pattern to tile and fuse Linalg operations on buffers. 2020-09-30 14:56:58 -07:00
tools [mlir][Linalg] Add pattern to tile and fuse Linalg operations on buffers. 2020-09-30 14:56:58 -07:00
unittests [MLIR][NFC] Adopt use of TypeRange in build() methods. 2020-09-23 09:07:57 -07:00
utils Add GDB prettyprinters for a few more MLIR types. 2020-09-30 21:22:47 +02:00
.clang-format
.clang-tidy Fix MLIR clang-tidy: when tweaking it does not inherit from the parent 2020-03-07 17:44:21 +00:00
CMakeLists.txt [mlir] Initial version of C APIs 2020-08-05 15:04:08 +02:00
LICENSE.TXT Add the Apache2 with LLVM exceptions license to MLIR 2019-12-24 00:58:06 -08:00
README.md mlir README.md: Fix the syntax 2019-12-24 13:31:07 +01:00

README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.