diff options
| author | Matthias Springer <me@m-sp.org> | 2023-10-03 16:00:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-03 16:00:37 +0200 |
| commit | 464dfeba440bc1199e1a91e0c04b2dcfa8362f86 (patch) | |
| tree | 9919ed07ae2790fe811c918cccd55ecc9fa06b2b /lldb/packages/Python/lldbsuite/test/gdbclientutils.py | |
| parent | 3dc7039f244f5da7368b8ba2f0e419c7d851c851 (diff) | |
| download | llvm-464dfeba440bc1199e1a91e0c04b2dcfa8362f86.zip llvm-464dfeba440bc1199e1a91e0c04b2dcfa8362f86.tar.gz llvm-464dfeba440bc1199e1a91e0c04b2dcfa8362f86.tar.bz2 | |
[mlir][tensor][bufferize] `tensor.empty` bufferizes to an allocation (#68080)
Make `tensor.empty` bufferizable, so that the
`-empty-tensor-to-alloc-tensor` pass becomes optional. This makes the
bufferization easier to use. `tensor.empty` used to be non-bufferizable,
so that there two separate ops, one that can be optimized away
(`tensor.empty`) and one that is guaranteed to bufferize to an
allocation (`bufferization.alloc_tensor`). With the recent improvements
of "empty tensor elimination" this is no longer needed and
`bufferization.alloc_tensor` can be phased out.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/gdbclientutils.py')
0 files changed, 0 insertions, 0 deletions
