[PATCH] D147790: [mlir] [bufferization] Fix dealloc errors.

Matthias Springer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 12 01:36:55 PDT 2023


springerm added a comment.

This is tricky... I think the ParallelInsertSliceOp should not bufferize to a memory write. Then, a copy would never be inserted there. I.e., `ParallelInsertSliceOpInterface::bufferizesToMemoryWrite` should always return `false`. Can you give that a try and see if it fails any tests? I haven't fully thought this through yet and may be missing something...


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147790/new/

https://reviews.llvm.org/D147790



More information about the llvm-commits mailing list