aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorMartin Erhart <merhart@google.com>2023-07-28 14:35:08 +0000
committerMartin Erhart <merhart@google.com>2023-07-28 16:27:32 +0000
commit17aaa651dbfbc79adfe73d5010252dc90dc5752f (patch)
treef61a235b3ed25f998b66badf8a8a4ed81425b579 /llvm/lib/Bitcode
parent26a730821d48b86fe78fb854ee7ce3f64d696119 (diff)
downloadllvm-17aaa651dbfbc79adfe73d5010252dc90dc5752f.zip
llvm-17aaa651dbfbc79adfe73d5010252dc90dc5752f.tar.gz
llvm-17aaa651dbfbc79adfe73d5010252dc90dc5752f.tar.bz2
[mlir][bufferization] Add DeallocOp canonicalizer to remove duplicate values
Duplicate values in the retained list can just be removed, however, for duplicates in the list of memrefs to deallocate, we also need to check the conditions and if thhey don't match, we need to compute the OR in order to not miss a case leading to a memory leak. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D156157
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions