llvm-project/mlir
Nicolas Vasilache 6b1668397f [mlir][Linalg] Improve comprehensive bufferization for scf.yield.
Previously, comprehensive bufferization of scf.yield did not have enough information
to detect whether an enclosing scf::for bbargs would bufferize to a buffer equivalent
to that of the matching scf::yield operand.
As a consequence a separate sanity check step would be required to determine whether
bufferization occured properly.
This late check would miss the case of calling a function in an loop.

Instead, we now pass and update aliasInfo during bufferization and it is possible to
imrpove bufferization of scf::yield and drop that post-pass check.

Add an example use case that was failing previously.
This slightly modifies the error conditions, which are also updated as part of this
revision.

Differential Revision: https://reviews.llvm.org/D105803
2021-07-12 10:36:25 +00:00
..
cmake/modules [mlir] Generare .cpp.inc files for dialects. 2021-06-29 20:10:30 +00:00
docs [mlir-reduce] Fix the grammer in the doc 2021-07-09 08:01:35 +08:00
examples [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
include [mlir] factor math-to-llvm out of standard-to-llvm 2021-07-12 11:09:42 +02:00
lib [mlir][Linalg] Improve comprehensive bufferization for scf.yield. 2021-07-12 10:36:25 +00:00
python [mlir][linalg][python] Add exp and log to the OpDSL. 2021-07-08 08:48:23 +00:00
test [mlir][Linalg] Improve comprehensive bufferization for scf.yield. 2021-07-12 10:36:25 +00:00
tools [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
unittests [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
utils [vscode-mlir] Add support for restarting the server on setting/server changes 2021-06-29 00:08:44 +00:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
CMakeLists.txt [MLIR] Drop old cmake var names 2021-05-24 15:30:01 +05:30
LICENSE.TXT
README.md

README.md

Multi-Level Intermediate Representation

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