aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorMartin Erhart <merhart@google.com>2023-07-28 16:32:03 +0000
committerMartin Erhart <merhart@google.com>2023-07-28 16:41:03 +0000
commitb0688ed0dcb67b6582df3cbef0910257bb1f75f2 (patch)
tree98ef87316ea290a1e6ec9647efe9c4aa91ad0f9b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent945123384e2e6c1f4ee27c785399b585c7225c83 (diff)
downloadllvm-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