diff options
author | Matthias Springer <me@m-sp.org> | 2023-09-13 12:27:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 12:27:19 +0200 |
commit | 8143307b336db18f5db4e19a202194ee6cb614de (patch) | |
tree | 90b65e2ccf7b66fdd8a460e98d24f6246008a494 /clang/lib/CodeGen/CodeGenModule.h | |
parent | b8ec2832c3d9a1104154463a922c5d9b44f35dfe (diff) | |
download | llvm-8143307b336db18f5db4e19a202194ee6cb614de.zip llvm-8143307b336db18f5db4e19a202194ee6cb614de.tar.gz llvm-8143307b336db18f5db4e19a202194ee6cb614de.tar.bz2 |
[mlir][bufferization] Generalize tensor slice rules to subset ops (#65619)
This commit generalizes the special
tensor.extract_slice/tensor.insert_slice bufferization rules to tensor
subset ops.
Ops that insert a tensor into a tensor at a specified subset (e.g.,
tensor.insert_slice, tensor.scatter) can implement the
`SubsetInsertionOpInterface`.
Apart from adding a new op interface (extending the API), this change is
NFC. The only ops that currently implement the new interface are
tensor.insert_slice and tensor.parallel_insert_slice, and those ops were
are supported by One-Shot Bufferize.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions