This is an archive of the discontinued LLVM Phabricator instance.

[IR][NFC] Adds BasicBlock::erase().
ClosedPublic

Authored by vporpo on Dec 1 2022, 1:57 PM.

Details

Summary

Currently the only way to do this is to work with the instruction list directly.
This is part of a series of cleanup patches towards making BasicBlock::getInstList() private.

Diff Detail

Event Timeline

vporpo created this revision.Dec 1 2022, 1:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2022, 1:57 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
vporpo requested review of this revision.Dec 1 2022, 1:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2022, 1:57 PM
aeubanks accepted this revision.Dec 1 2022, 2:01 PM
This revision is now accepted and ready to land.Dec 1 2022, 2:01 PM
This revision was landed with ongoing or failed builds.Dec 1 2022, 5:48 PM
This revision was automatically updated to reflect the committed changes.