llvm-project/mlir/test
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
..
Analysis [mlir] Add support for querying the ModRef behavior from the AliasAnalysis class 2021-05-27 13:57:29 -07:00
CAPI Add C API files for the LLVM dialect 2021-07-02 11:55:44 -07:00
Conversion [mlir] factor math-to-llvm out of standard-to-llvm 2021-07-12 11:09:42 +02:00
Dialect [mlir][Linalg] Improve comprehensive bufferization for scf.yield. 2021-07-12 10:36:25 +00:00
Examples [MLIR] Fix Standalone dialect test to work in out-of-tree builds 2021-06-02 17:24:46 +00:00
IR [mlir] Gated calls to getAsm{Result,BlockArgument}Names on whether printing ops in generic form. 2021-07-10 17:19:37 +00:00
Integration [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
Interfaces [mlir][tensor] Add tensor.dim operation 2021-07-01 10:00:19 +09:00
Pass [mlir] Add a ThreadPool to MLIRContext and refactor MLIR threading usage 2021-06-23 01:29:24 +00:00
Rewrite [mlir][PDL] Add support for variadic operands and results in the PDL byte code 2021-03-16 13:20:19 -07:00
Target [mlir] add support for reductions in OpenMP WsLoopOp 2021-07-09 17:54:20 +02:00
Transforms [mlir][tensor] Add tensor.dim operation 2021-07-01 10:00:19 +09:00
Unit Revert "Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot" 2021-06-29 18:03:23 -05:00
lib [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
mlir-cpu-runner [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
mlir-linalg-ods-gen [mlir][linalg] Remove the StructuredOp capture mechanism. 2021-06-28 07:57:40 +00:00
mlir-lsp-server [mlir] Gated calls to getAsm{Result,BlockArgument}Names on whether printing ops in generic form. 2021-07-10 17:19:37 +00:00
mlir-opt [mlir] Remove SDBM 2021-06-29 14:46:26 +02:00
mlir-reduce [mlir-reduce] Reducer refactor. 2021-06-02 07:45:00 +08:00
mlir-spirv-cpu-runner [mlir] fix SPIR-V CPU and Vulkan runners after e2310704d8 2021-03-15 18:36:58 +01:00
mlir-tblgen [mlir-tblgen] Avoid ODS verifier duplication 2021-07-05 10:09:41 +08:00
mlir-translate [mlir] Print the correct tool name in mlirTranslateMain 2021-01-05 19:17:01 -08:00
mlir-vulkan-runner [mlir] fix SPIR-V CPU and Vulkan runners after e2310704d8 2021-03-15 18:36:58 +01:00
python [mlir] factor memref-to-llvm lowering out of std-to-llvm 2021-07-09 14:49:52 +02:00
APITest.h Mass update the MLIR license header to mention "Part of the LLVM project" 2020-01-26 03:58:30 +00:00
CMakeLists.txt Add C API files for the LLVM dialect 2021-07-02 11:55:44 -07:00
lit.cfg.py [mlir] Remove SDBM 2021-06-29 14:46:26 +02:00
lit.site.cfg.py.in [MLIR] Fix Standalone dialect test to work in out-of-tree builds 2021-06-02 17:24:46 +00:00