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.
Details
Details
- Reviewers
aeubanks asbirlea - Commits
- rG3259caefb3b1: [IR][NFC] Adds BasicBlock::erase().
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo