commit | 239b864d493566ea9776293ab22e709f02cfc321 | [log] [tgz] |
---|---|---|
author | Julian Gross <julian.gross@dfki.de> | Thu Nov 18 16:44:46 2021 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Nov 30 01:20:43 2021 -0800 |
tree | 2f777d22ffb03368b43f041d39803fe33120bab8 | |
parent | 09bb63006d156f37d2b8c9b57425450314819ba1 [diff] |
[mlir] Decompose Bufferization Clone operation into Memref Alloc and Copy. This patch introduces a new conversion to convert bufferization.clone operations into a memref.alloc and a memref.copy operation. This transformation is needed to transform all remaining clones which "survive" all previous transformations, before a given program is lowered further (to LLVM e.g.). Otherwise, these operations cannot be handled anymore and lead to compile errors. See: https://llvm.discourse.group/t/bufferization-error-related-to-memref-clone/4665 Differential Revision: https://reviews.llvm.org/D114233 GitOrigin-RevId: ae1ea0bead75f4c7a4c965dfa40b5f3b78b60364
See https://mlir.llvm.org/ for more information.