Skip to content

Update post-dominance algorithm#27

Open
x87 wants to merge 1 commit intomasterfrom
pdom
Open

Update post-dominance algorithm#27
x87 wants to merge 1 commit intomasterfrom
pdom

Conversation

@x87
Copy link
Owner

@x87 x87 commented Jun 14, 2020

post-dominators for a given graph can be found by running dominators algorithm on the graph with reversed nodes (that is, where "from" and "to" nodes are swapped).

also updating the definition of the root that is not necessarily the first node in the graph, but rather the one that has no predecessors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant