Skip to content
Commit 17aaa651 authored by Martin Erhart's avatar Martin Erhart
Browse files

[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
parent 26a73082
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment