llvm-project/mlir
Mahesh Ravishankar 485190df95 [mlir][Linalg] Deprecate `tileAndFuseLinalgOps` method and associated patterns.
The `tileAndFuseLinalgOps` is a legacy approach for tiling + fusion of
Linalg operations. Since it was also intended to work on operations
with buffer operands, this method had fairly complex logic to make
sure tile and fuse was correct even with side-effecting linalg ops.
While complex, it still wasnt robust enough. This patch deprecates
this method and thereby deprecating the tiling + fusion method for ops
with buffer semantics. Note that the core transformation to do fusion
of a producer with a tiled consumer still exists. The deprecation here
only removes methods that auto-magically tried to tile and fuse
correctly in presence of side-effects.

The `tileAndFuseLinalgOps` also works with operations with tensor
semantics. There are at least two other ways the same functionality
exists.
1) The `tileConsumerAndFuseProducers` method. This does a similar
   transformation, but using a slightly different logic to
   automatically figure out the legal tile + fuse code. Note that this
   is also to be deprecated soon.
2) The prefered way uses the `TilingInterface` for tile + fuse, and
   relies on the caller to set the tiling options correctly to ensure
   that the generated code is correct.
As proof that (2) is equivalent to the functionality provided by
`tileAndFuseLinalgOps`, relevant tests have been moved to use the
interface, where the test driver sets the tile sizes appropriately to
generate the expected code.

Differential Revision: https://reviews.llvm.org/D129901
2022-07-21 05:05:06 +00:00
..
benchmark/python [NFC] Remove obsolete all_passes_registration from integration tests. 2022-07-16 18:18:43 -07:00
cmake/modules Restore Python install behavior from before D128230. 2022-07-09 19:22:51 -07:00
docs [mlir:LSP] Add a quickfix code action for inserting expected-* diagnostic checks 2022-07-20 15:43:59 -07:00
examples Revert "[MLIR] Generic 'malloc', 'aligned_alloc' and 'free' functions" 2022-07-18 18:07:36 +00:00
include [mlir][Linalg] Deprecate `tileAndFuseLinalgOps` method and associated patterns. 2022-07-21 05:05:06 +00:00
lib [mlir][Linalg] Deprecate `tileAndFuseLinalgOps` method and associated patterns. 2022-07-21 05:05:06 +00:00
python [mlir] Overhaul C/Python registration APIs to properly scope registration/loading activities. 2022-07-16 17:27:50 -07:00
test [mlir][Linalg] Deprecate `tileAndFuseLinalgOps` method and associated patterns. 2022-07-21 05:05:06 +00:00
tools [mlir][Linalg] Deprecate `tileAndFuseLinalgOps` method and associated patterns. 2022-07-21 05:05:06 +00:00
unittests [MLIR][Presburger] fix warning under g++ (NFC) 2022-07-18 18:02:20 +01:00
utils [mlir][spirv] Rename spv.ocl to spv.cl. NFC. 2022-07-20 17:46:45 -04:00
.clang-format [mlir] Add missing newline at end of .clang-format file 2022-06-14 23:59:00 -07:00
.clang-tidy Enable readability-redundant-smartptr-get in MLIR local clang-tidy config 2022-01-08 20:07:11 +00:00
CMakeLists.txt Revert "[cmake] Don't export `LLVM_TOOLS_INSTALL_DIR` anymore" 2022-06-10 19:26:12 +00:00
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

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