This is an archive of the discontinued LLVM Phabricator instance.

[mlir:SymbolTable] Add "remove" method that drops a symbol without erasing it
ClosedPublic

Authored by rriddle on Sep 9 2022, 2:03 AM.

Details

Summary

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.

Diff Detail

Event Timeline

rriddle created this revision.Sep 9 2022, 2:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 9 2022, 2:03 AM
rriddle requested review of this revision.Sep 9 2022, 2:03 AM
lattner accepted this revision.Sep 9 2022, 9:39 AM

Makes sense!

This revision is now accepted and ready to land.Sep 9 2022, 9:39 AM