[mlir][bufferize] Fix tracking of erased ops
authorMatthias Springer <me@m-sp.org>
Mon, 27 Mar 2023 06:57:46 +0000 (08:57 +0200)
committerMatthias Springer <me@m-sp.org>
Mon, 27 Mar 2023 06:58:53 +0000 (08:58 +0200)
commit9d80f1742294aeedfbe547349a5422c363b5fb1a
tree250c60a249cc9f67fcb32124fed7d05bd814652d
parent62c38ffb15fac7c82dee83002ffd9267553fb534
[mlir][bufferize] Fix tracking of erased ops

This is a workaround until D144193 has landed.

Differential Revision: https://reviews.llvm.org/D146868
mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp