llvm-project/mlir
Nicolas Vasilache 307cfdf533 [mlir][Linalg] Mostly NFC - Refactor Linalg patterns and transformations.
Linalg transformations are currently exposed as DRRs.
Unfortunately RewriterGen does not play well with the line of work on named linalg ops which require variadic operands and results.
Additionally, DRR is arguably not the right abstraction to expose compositions of such patterns that don't rely on SSA use-def semantics.

This revision abandons DRRs and exposes manually written C++ patterns.

Refactorings and cleanups are performed to uniformize APIs.
This refactoring will allow replacing the currently manually specified Linalg named ops.

A collateral victim of this refactoring is the `tileAndFuse` DRR, and the one associated test, which will be revived at a later time.

Lastly, the following 2 tests do not add value and are altered:
- a dot_perm tile + interchange test does not test anything new and is removed
- a dot tile + lower to loops does not need 2-D tiling and is trimmed.
2020-05-04 11:17:37 -04:00
..
cmake/modules [MLIR] Ensure that out-of-tree users have an mlir-generic-headers target 2020-05-01 22:19:58 -07:00
docs [mlir] Add a new context flag for disabling/enabling multi-threading 2020-05-02 12:32:25 -07:00
examples [MLIR] Move Verifier and Dominance Analysis from /Analysis to /IR 2020-05-01 20:01:46 -07:00
include [mlir][Linalg] Mostly NFC - Refactor Linalg patterns and transformations. 2020-05-04 11:17:37 -04:00
lib [mlir][Linalg] Mostly NFC - Refactor Linalg patterns and transformations. 2020-05-04 11:17:37 -04:00
test [mlir][Linalg] Mostly NFC - Refactor Linalg patterns and transformations. 2020-05-04 11:17:37 -04:00
tools [mlir][spirv] Handle debug information during (de)serialization. 2020-05-01 14:11:54 +03:00
unittests [mlir][DenseStringElementsAttr] Add support for the Attribute based get* methods. 2020-05-01 16:34:35 -07:00
utils [mlir][spirv] NFC: use Optional to replace SPV_Optional 2020-04-13 15:44:06 -04:00
.clang-format [mlir] add .clang-format 2019-03-29 12:41:43 -07:00
.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] add dependencies for all tablegen targets on 'mlir-headers' 2020-05-01 20:08:52 -07: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.