aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2023-10-23 09:45:33 +0900
committerGitHub <noreply@github.com>2023-10-23 09:45:33 +0900
commit4d80eff8615f3876d649ce00b26d1b69b213163b (patch)
treefd3cf1c19522c4eb9dc24a8fa3a8f708ff4fa716 /lldb/source/Plugins/ScriptInterpreter/Python
parent7a3db658d923f0f0119c77e3fe849c5650c83601 (diff)
downloadllvm-4d80eff8615f3876d649ce00b26d1b69b213163b.zip
llvm-4d80eff8615f3876d649ce00b26d1b69b213163b.tar.gz
llvm-4d80eff8615f3876d649ce00b26d1b69b213163b.tar.bz2
[mlir][bufferization] Ownership-based deallocation: Allow manual (de)allocs (#68648)
Add a new attribute `bufferization.manual_deallocation` that can be attached to allocation and deallocation ops. Buffers that are allocated with this attribute are assigned an ownership of "false". Such buffers can be deallocated manually (e.g., with `memref.dealloc`) if the deallocation op also has the attribute set. Previously, the ownership-based buffer deallocation pass used to reject IR with existing deallocation ops. This is no longer the case if such ops have this new attribute. This change is useful for the sparse compiler, which currently deallocates the sparse tensor buffers by itself.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions