Skip to content

GitHub_18291 shows that we can't delete unreachable blocks. #10

@sandreenko

Description

@sandreenko

We remove unreachable block only in fgRemoveUnreachableBlocks in fgRemoveUnreachableBlocks that we run before assertion propogation and CSE that can change set of dead blocks.

Also, when we create internal block we mark them as:

    newBlk->bbFlags |= BBF_IMPORTED;
    newBlk->bbFlags |= BBF_DONT_REMOVE;

and can't delete when they become dead (and can't say that they are dead because Note that no bbJumpDest points to these blocks..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions