diff options
| author | Spenser Bauman <sbauman@mathworks.com> | 2023-09-19 00:50:43 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-19 09:50:43 +0900 |
| commit | 0a0c7e89780a7b429ed8d63146c6caa2f1890e61 (patch) | |
| tree | 83e0dd792f220d304470c1d6c14ff25324175f98 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp | |
| parent | 810bca56f03ad1408fcca9226fa2e5c502ad9917 (diff) | |
| download | llvm-0a0c7e89780a7b429ed8d63146c6caa2f1890e61.zip llvm-0a0c7e89780a7b429ed8d63146c6caa2f1890e61.tar.gz llvm-0a0c7e89780a7b429ed8d63146c6caa2f1890e61.tar.bz2 | |
[mlir][tensor] Bufferize tensor.reshape with non-identity layouts (#65654)
Bufferization of tensor.reshape generates a memref.reshape operation.
memref.reshape requires the source memref to have an identity layout.
The bufferization process may result in the source memref having a
non-identity layout, resulting in a verification failure.
This change causes the bufferization interface for tensor.reshape to
copy the source memref to a new buffer when the source has a
non-identity layout.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp')
0 files changed, 0 insertions, 0 deletions
