llvm-project/mlir
Nicolas Vasilache 538ac26f25 [mlir][Linalg] Create a named batch_matmul op and pipe it through.
This revision is the first in a set of improvements that aim at allowing
more generalized named Linalg op generation from a mathematical
specification.

This revision allows creating a new op and checks that the parser,
printer and verifier are hooked up properly.

This opened up a few design points that will be addressed in the future:
1. A named linalg op has a static region builder instead of an
explicitly parsed region. This is not currently compatible with
assemblyFormat so a custom parser / printer are needed.
2. The convention for structured ops and tensor return values needs to
evolve to allow tensor-land and buffer land specifications to agree
3. ReferenceIndexingMaps and referenceIterators will need to become
static to allow building attributes at parse time.
4. Error messages will be improved once we have 3. and we pretty print
in custom form.

Differential Revision: https://reviews.llvm.org/D78327
2020-04-21 12:09:46 -04:00
..
cmake/modules [MLIR] Fix MLIR_MAIN_[SRC|INCLUDE]_DIR variables 2020-04-12 09:29:07 +03:00
docs [mlir][ods] Update doc regarding attribute definitions 2020-04-20 11:58:12 -04:00
examples [mlir][NFC] Fix typo in the standalone dialect README. 2020-04-21 16:55:04 +02:00
include [mlir][Linalg] Create a named batch_matmul op and pipe it through. 2020-04-21 12:09:46 -04:00
lib [mlir][Linalg] Create a named batch_matmul op and pipe it through. 2020-04-21 12:09:46 -04:00
test [mlir][Linalg] Create a named batch_matmul op and pipe it through. 2020-04-21 12:09:46 -04:00
tools [mlir][Linalg] Create a named batch_matmul op and pipe it through. 2020-04-21 12:09:46 -04:00
unittests [llvm][StringExtras] Merge StringExtras from MLIR into LLVM 2020-04-14 18:57:22 -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] Fix MLIR_MAIN_[SRC|INCLUDE]_DIR variables 2020-04-12 09:29:07 +03: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.