llvm-project/mlir/lib/Dialect/MemRef/Utils
Rahul Joshi f8d3755f00 [MLIR][memref] Fix findDealloc() to handle > 1 dealloc for the given alloc.
- Change findDealloc() to return Optional<Operation *> and return None if > 1
  dealloc is associated with the given alloc.
- Add findDeallocs() to return all deallocs associated with the given alloc.
- Fix current uses of findDealloc() to bail out if > 1 dealloc is found.

Differential Revision: https://reviews.llvm.org/D106456
2021-07-22 09:34:19 -07:00
..
CMakeLists.txt [mlir] Move memref.subview patterns to MemRef/Transforms/ 2021-04-12 16:38:22 -04:00
MemRefUtils.cpp [MLIR][memref] Fix findDealloc() to handle > 1 dealloc for the given alloc. 2021-07-22 09:34:19 -07:00