diff options
author | Lorenzo Chelini <l.chelini@icloud.com> | 2022-12-14 14:47:01 +0100 |
---|---|---|
committer | Lorenzo Chelini <l.chelini@icloud.com> | 2022-12-19 09:12:10 +0100 |
commit | e7d0cc76d7f03020429f4e15de79ddb6a3695aea (patch) | |
tree | f87e016833004b594427b98e02e2033b1c2b7e34 /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 5d65f8a7931c160fe5a11c120796779ba59789b9 (diff) | |
download | llvm-e7d0cc76d7f03020429f4e15de79ddb6a3695aea.zip llvm-e7d0cc76d7f03020429f4e15de79ddb6a3695aea.tar.gz llvm-e7d0cc76d7f03020429f4e15de79ddb6a3695aea.tar.bz2 |
[MLIR][Bufferization] Introduce `EmptyTensorToAllocTensorOp`
Introduce a new transform operation to replace `tensor.empty` with
`alloc_tensor` operations. The operation is a pass-through if the target
operation is already a `alloc_tensor`; otherwise, it expects a
`tensor.empty` as a target. Currently, it does not return any results.
The operation is expected to run before `one_shot_bufferize` as
`one_shot_bufferize` rejects `tensor.empty`.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D140026
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions