llvm-project/mlir
Nicolas Vasilache 2d32ee0d7a [mlir][Vector] Update lowering of vector ops to llvm intrinsics to use row-major.
Summary:
LLVM matrix intrinsics recently introduced an option to support row-major mode.
This matches the MLIR vector model, this revision switches to row-major.

A corner case related to degenerate sizes was also fixed upstream.
This revision removes the guard against this corner case.

A bug was uncovered on the output vector construction which this revision also fixes.

Lastly, this has been tested on a small size and benchmarked independently: no visible performance regression is observed.

In the future, when matrix intrinsics support per op attribute, we can more aggressively translate to that and avoid inserting MLIR-level transposes.

This has been tested independently to work on small matrices.

Differential Revision: https://reviews.llvm.org/D77761
2020-04-09 16:37:28 -04:00
..
cmake/modules [mlir] Remove need for static global ctors from mlir-translate 2020-04-08 16:52:33 -06:00
docs [mlir][Pass] Update the documentation for the declarative pass specification 2020-04-07 14:21:32 -07:00
examples Keep output file after successful execution of mlir-opt 2020-04-08 03:37:45 +00:00
include [mlir][Vector] Update lowering of vector ops to llvm intrinsics to use row-major. 2020-04-09 16:37:28 -04:00
lib [mlir][Vector] Update lowering of vector ops to llvm intrinsics to use row-major. 2020-04-09 16:37:28 -04:00
test [mlir][Vector] Update lowering of vector ops to llvm intrinsics to use row-major. 2020-04-09 16:37:28 -04:00
tools [mlir] Remove need for static global ctors from mlir-translate 2020-04-08 16:52:33 -06:00
unittests [mlir] Remove need for static global ctors from mlir-translate 2020-04-08 16:52:33 -06:00
utils [mlir] NFC: Fix trivial typo 2020-04-05 11:30:30 +09: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 cross compiling MLIR 2020-03-14 19:18:40 +00: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.