diff options
author | Rahul Joshi <jurahul@google.com> | 2021-07-21 17:13:40 -0700 |
---|---|---|
committer | Rahul Joshi <jurahul@google.com> | 2021-07-22 09:34:19 -0700 |
commit | f8d3755f00b8228d1441429dcd63af45f59ce164 (patch) | |
tree | 6b592a8c397d2bad8503d1cfa1e99cbae88c44b2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | |
parent | 1a965706219efd40c7e2548e317311266187bb09 (diff) | |
download | llvm-f8d3755f00b8228d1441429dcd63af45f59ce164.zip llvm-f8d3755f00b8228d1441429dcd63af45f59ce164.tar.gz llvm-f8d3755f00b8228d1441429dcd63af45f59ce164.tar.bz2 |
[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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions