llvm/mlir
Matthias Springer 9235e597a4 [mlir][bufferize] Fix missing copies when writing to a buffer in a loop
Writes into tensors that are definied outside of a repetitive region, but with the write happening inside of the repetitive region were previously not considered conflicts. This was incorrect.

E.g.:
```
%0 = ... : tensor<?xf32>
scf.for ... {
  "reading_op"(%0) : tensor<?xf32>
  %1 = "writing_op"(%0) : tensor<?xf32> -> tensor<?xf32>
  ...
}
```

In the above example, "writing_op" should be out-of-place.

This commit fixes the bufferization for any op that declares its repetitive semantics via RegionBranchOpInterface.
2022-04-20 18:51:06 +09:00
..
benchmark/python [mlir] Move the Builtin FuncOp to the Func dialect 2022-03-16 17:07:03 -07:00
cmake/modules
docs [mlir][docs] Add missing parentheses in example code on walkers. 2022-04-20 09:43:41 +00:00
examples [mlir:NFC] Remove the forward declaration of FuncOp in the mlir namespace 2022-04-18 12:01:55 -07:00
include [mlir][LLVMIR] Add vector predication type cast intrinsic ops. 2022-04-20 02:11:14 +00:00
lib [mlir][bufferize] Fix missing copies when writing to a buffer in a loop 2022-04-20 18:51:06 +09:00
python [mlir][Linalg] Add pooling_nchw_sum op. 2022-04-08 17:57:47 +05:30
test [mlir][bufferize] Fix missing copies when writing to a buffer in a loop 2022-04-20 18:51:06 +09:00
tools Apply clang-tidy fixes for readability-identifier-naming in OpFormatGen.cpp (NFC) 2022-04-16 06:36:12 +00:00
unittests [mlir][interfaces] Fix infinite loop in insideMutuallyExclusiveRegions 2022-04-19 16:28:52 +09:00
utils [mlir] Fix a typo to load lsp-mode correctly. 2022-04-14 00:04:40 +00:00
.clang-format
.clang-tidy
CMakeLists.txt mlir: set CMAKE_INCLUDE_CURRENT_DIR to fix out-of-tree builds 2022-03-19 18:22:09 -05:00
LICENSE.TXT
README.md

Multi-Level Intermediate Representation

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