[all-commits] [llvm/llvm-project] 06b038: [mlir] Introduce CloneOp and adapt test cases in B...
dfki-jugr via All-commits
all-commits at lists.llvm.org
Mon Mar 29 01:20:46 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06b03800f3fcbf49f5ddd4145b40f04e4ba4eb42
https://github.com/llvm/llvm-project/commit/06b03800f3fcbf49f5ddd4145b40f04e4ba4eb42
Author: Julian Gross <julian.gross at dfki.de>
Date: 2021-03-29 (Mon, 29 Mar 2021)
Changed paths:
M mlir/docs/BufferDeallocationInternals.md
M mlir/include/mlir/Dialect/MemRef/IR/MemRef.h
M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
A mlir/include/mlir/Dialect/MemRef/Utils/MemRefUtils.h
M mlir/include/mlir/Transforms/BufferUtils.h
M mlir/include/mlir/Transforms/Passes.h
M mlir/include/mlir/Transforms/Passes.td
M mlir/lib/Dialect/MemRef/CMakeLists.txt
R mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
M mlir/lib/Dialect/MemRef/IR/MemRefOps.cpp
A mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
M mlir/lib/Transforms/BufferDeallocation.cpp
M mlir/lib/Transforms/BufferUtils.cpp
M mlir/lib/Transforms/CMakeLists.txt
R mlir/lib/Transforms/CopyRemoval.cpp
M mlir/test/Transforms/buffer-deallocation.mlir
M mlir/test/Transforms/canonicalize.mlir
R mlir/test/Transforms/copy-removal.mlir
Log Message:
-----------
[mlir] Introduce CloneOp and adapt test cases in BufferDeallocation.
Add a new clone operation to the memref dialect. This operation implicitly
copies data from a source buffer to a new buffer. In contrast to the linalg.copy
operation, this operation does not accept a target buffer as an argument.
Instead, this operation performs a conceptual allocation which does not need to
be performed manually.
Furthermore, this operation resolves the dependency from the linalg-dialect
in the BufferDeallocation pass. In addition, we also extended the canonicalization
patterns to fold clone operations. The copy removal pass has been removed.
Differential Revision: https://reviews.llvm.org/D99172
More information about the All-commits
mailing list