diff options
author | Matthias Springer <springerm@google.com> | 2022-01-07 06:10:55 +0900 |
---|---|---|
committer | Matthias Springer <springerm@google.com> | 2022-01-07 06:13:57 +0900 |
commit | 0f5edb9d63b871396e773224ca9005b8c2c7520d (patch) | |
tree | f10c57f13dbb393b79497048d7ae9c198bd1dc24 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 37e6e022d21fc9e188701c684dc0f6a13366ddf9 (diff) | |
download | llvm-0f5edb9d63b871396e773224ca9005b8c2c7520d.zip llvm-0f5edb9d63b871396e773224ca9005b8c2c7520d.tar.gz llvm-0f5edb9d63b871396e773224ca9005b8c2c7520d.tar.bz2 |
[mlir][linalg][bufferize] Add `createDealloc` options
If `createDealloc` is deactivated (enabled by default), newly allocated buffers are not deallocated anymore. In such a case, the missing deallocations can be inserted by the existing "BufferDeallocation" pass.
This change is needed for unifying core bufferization and Comprehensive Bufferize. Core bufferization has a separate pass for generating deallocations.
Note: In the future, this will evolve towards generating deallocation ops only for buffer allocations that do not escape block boundaries (i.e., that are in destination passing style).
Differential Revision: https://reviews.llvm.org/D116450
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions