This is an archive of the discontinued LLVM Phabricator instance.

[Dominators] Move SemiNCAInfo and helper functions out of DominatorTreeBase
ClosedPublic

Authored by kuhar on Jun 20 2017, 2:32 PM.

Details

Summary

This moves SemiNCAInfo from DeminatorTreeBase to GenericDomTreeConstruction. It also put helper functions used during tree constructions in the same file.

The point of this change is to further clean up DominatorTreeBase and make it easier to construct and verify (in future patches).

Diff Detail

Repository
rL LLVM

Event Timeline

kuhar created this revision.Jun 20 2017, 2:32 PM
kuhar updated this revision to Diff 103292.Jun 20 2017, 4:43 PM

Also hoist running Semi-NCA out of Calculate.

kuhar updated this revision to Diff 103307.Jun 20 2017, 6:05 PM

Revert to old patch -- the previous update was meant to be sent to a different revision.

dberlin edited edge metadata.Jun 21 2017, 7:13 PM

I would just name the namespace seminca or something
detail is a random generic name :)

dberlin accepted this revision.Jun 23 2017, 7:23 PM

Fine once namespace is renamed

This revision is now accepted and ready to land.Jun 23 2017, 7:23 PM
kuhar updated this revision to Diff 104067.Jun 26 2017, 6:41 PM

Rename the namespace detail to DomTreeBuilder

This revision was automatically updated to reflect the committed changes.