diff options
author | Martin Erhart <merhart@google.com> | 2023-07-28 16:32:03 +0000 |
---|---|---|
committer | Martin Erhart <merhart@google.com> | 2023-07-28 16:41:03 +0000 |
commit | b0688ed0dcb67b6582df3cbef0910257bb1f75f2 (patch) | |
tree | 98ef87316ea290a1e6ec9647efe9c4aa91ad0f9b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 945123384e2e6c1f4ee27c785399b585c7225c83 (diff) | |
download | llvm-b0688ed0dcb67b6582df3cbef0910257bb1f75f2.zip llvm-b0688ed0dcb67b6582df3cbef0910257bb1f75f2.tar.gz llvm-b0688ed0dcb67b6582df3cbef0910257bb1f75f2.tar.bz2 |
[mlir][bufferization] Add DeallocOp canonicalizer to remove memrefs also present in the retained list
Since memrefs in the retained list will never be deallocated, we can remove them from the list of memrefs to be deallocated. If the list of memrefs to deallocate becomes empty, we can just delete the dealloc operation.
Reviewed By: springerm
Differential Revision: https://reviews.llvm.org/D156186
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions