diff options
author | Matthias Springer <springerm@google.com> | 2022-06-09 21:36:39 +0200 |
---|---|---|
committer | Matthias Springer <springerm@google.com> | 2022-06-09 21:37:15 +0200 |
commit | 56d68e8d7a17c32d2fd0d0894fc0776df0d85673 (patch) | |
tree | 1f91452dacd800ff5761d7550327ca5a3a979a5d /llvm/lib/Object/COFFObjectFile.cpp | |
parent | 9617ffce0d376afe2539f477533f8c14f769cc6e (diff) | |
download | llvm-56d68e8d7a17c32d2fd0d0894fc0776df0d85673.zip llvm-56d68e8d7a17c32d2fd0d0894fc0776df0d85673.tar.gz llvm-56d68e8d7a17c32d2fd0d0894fc0776df0d85673.tar.bz2 |
[mlir][bufferization] Add optional `copy` operand to AllocTensorOp
If `copy` is specified, the newly allocated buffer is initialized with the given contents. Also add an optional `escape` attribute to indicate whether the buffer of the tensor may be returned from the parent block (aka. "escape") after bufferization.
This change is in preparation of connecting One-Shot Bufferize to the sparse compiler.
Differential Revision: https://reviews.llvm.org/D126570
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions