Update terminators after a change to this block's layout.

Synopsis

Declared in <llvm/CodeGen/MachineBasicBlock.h>

void
updateTerminator(MachineBasicBlock* PreviousLayoutSuccessor);

Description

PreviousLayoutSuccessor should be set to the block which may have been used as fallthrough before the block layout was modified. If the block previously fell through to that block, it may now need a branch. If it previously branched to another block, it may now be able to fallthrough to the current layout successor.

Parameters

Name

Description

PreviousLayoutSuccessor

Former layout successor before the move.

Created with MrDocs