ΒΆvoid removeUnwindEdge(
llvm::BasicBlock* BB,
llvm::DomTreeUpdater* DTU = nullptr)
void removeUnwindEdge(
llvm::BasicBlock* BB,
llvm::DomTreeUpdater* DTU = nullptr)
Description
Replace 'BB's terminator with one that does not have an unwind successor block. Rewrites `invoke` to `call`, etc. Updates any PHIs in unwind successor.
Declared at: llvm/include/llvm/Transforms/Utils/Local.h:414
Parameters
- llvm::BasicBlock* BB
- Block whose terminator will be replaced. Its terminator must have an unwind successor.
- llvm::DomTreeUpdater* DTU = nullptr