llvm-project/mlir
Alex Zinenko b4bc72afb7 [mlir] refactor Linalg LoopNestBuilder to use common infra
Recent work has introduced support for constructing loops via `::build` with
callbacks that construct loop bodies using only the core OpBuilder. This is now
supported on all loop types that Linalg lowers to. Refactor LoopNestBuilder in
Linalg to rely on this functionality instead of using a custom EDSC-based
approach to creating loop nests.

The specialization targeting parallel loops is also simplified by factoring out
the recursive call into a separate static function and considering only two
alternatives: top-level loop is parallel or sequential.

This removes the last remaining in-tree use of edsc::LoopBuilder, which is now
deprecated and will be removed soon.

Differential Revision: https://reviews.llvm.org/D81873
2020-06-16 20:51:32 +02:00
..
cmake/modules Install the MLIRTableGen static library. 2020-06-11 18:23:24 -07:00
docs [mlir] Affine symbols: do not expect AffineScope to always exist 2020-06-15 17:55:49 +02:00
examples [mlir] Remove OperandAdaptor 2020-06-15 06:01:31 -07:00
include [mlir] refactor Linalg LoopNestBuilder to use common infra 2020-06-16 20:51:32 +02:00
integration_test [mlir] [integration-test] [VectorOps] Start an integration test directory for MLIR 2020-06-15 11:05:58 -07:00
lib [mlir] refactor Linalg LoopNestBuilder to use common infra 2020-06-16 20:51:32 +02:00
test [mlir][Linalg] Retire C++ MatmulOp in favor of a linalg-ods-gen'd op. 2020-06-16 10:46:35 -04:00
tools [mlir][Linalg] Retire C++ MatmulOp in favor of a linalg-ods-gen'd op. 2020-06-16 10:46:35 -04:00
unittests [mlir][spirv] Enhance structure type member decoration handling 2020-06-12 17:57:14 -04:00
utils [MLIR] Add documentation for generate-check-lines.py 2020-06-16 11:39:02 -07: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] [integration_test] Make integration tests default OFF 2020-06-15 14:33:18 -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.