diff options
author | Julian Gross <julian.gross@dfki.de> | 2021-03-18 14:07:49 +0100 |
---|---|---|
committer | Julian Gross <julian.gross@dfki.de> | 2021-03-29 10:19:10 +0200 |
commit | 06b03800f3fcbf49f5ddd4145b40f04e4ba4eb42 (patch) | |
tree | ce3fffa9df8396571d1bc805729bcdff31b9e801 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 3a68c6d26c9438eff1dc4483082076d3b1e117b5 (diff) | |
download | llvm-06b03800f3fcbf49f5ddd4145b40f04e4ba4eb42.zip llvm-06b03800f3fcbf49f5ddd4145b40f04e4ba4eb42.tar.gz llvm-06b03800f3fcbf49f5ddd4145b40f04e4ba4eb42.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions