[mlir:SymbolTable] Add "remove" method that drops a symbol without erasing it
authorRiver Riddle <riddleriver@gmail.com>
Fri, 9 Sep 2022 09:03:47 +0000 (02:03 -0700)
committerRiver Riddle <riddleriver@gmail.com>
Fri, 9 Sep 2022 22:09:57 +0000 (15:09 -0700)
commitb6a32d947524dc07a7871956a1e94165446b0174
treeb6f4aed7fdf8b995a29c1a38c872f81a6d1021db
parent71fae33f5e7c1b11e32db695fd24dd50aead737c
[mlir:SymbolTable] Add "remove" method that drops a symbol without erasing it

There are various use cases where we don't want to immediately erase
an operation when removing it from the symbol table. This commit adds
a "remove" method to support that.

Differential Revision: https://reviews.llvm.org/D133564
mlir/include/mlir/IR/SymbolTable.h
mlir/lib/IR/SymbolTable.cpp