diff options
author | Matthias Springer <me@m-sp.org> | 2023-10-05 14:06:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 14:06:00 +0200 |
commit | 58678d3bcf32bada15d6286dff4abfdbf40bfc21 (patch) | |
tree | 3f4742de60cb38afc61cb23d2aa5dfd279174bb3 /clang/lib/Sema/DeclSpec.cpp | |
parent | 5958043e2d4ebc46445c801f52e4b839a87736fb (diff) | |
download | llvm-58678d3bcf32bada15d6286dff4abfdbf40bfc21.zip llvm-58678d3bcf32bada15d6286dff4abfdbf40bfc21.tar.gz llvm-58678d3bcf32bada15d6286dff4abfdbf40bfc21.tar.bz2 |
[mlir][tensor][bufferize] `tensor.empty` bufferizes to allocation (#68201)
`BufferizableOpInterface::bufferizesToAllocation` is queried when
forming equivalence sets during bufferization. It is not really needed
for ops like `tensor.empty` which do not have tensor operands, but it
should be added for consistency.
This change should have been part of #68080. No test is added because
the return value of this function is irrelevant for ops without tensor
operands. (However, this function acts as a form documentation,
describing the bufferization semantics of the op.)
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
0 files changed, 0 insertions, 0 deletions