This is an archive of the discontinued LLVM Phabricator instance.

[Dominators] Remove DominatorBase class
ClosedPublic

Authored by kuhar on Jun 21 2017, 7:06 PM.

Details

Summary

DominatorBase class was only used by DominatorTreeBase. It didn't provide any useful abstractions, nor simplified anything, so I see no point keeping it.

This commit removes the DominatorBase class and moves its content into DominatorTreeBase.

This is the first patch in a series that tries to make all DomTrees have a single virtual root, which will allow to further simplify code (especially when it comes to incremental updates).

Diff Detail

Repository
rL LLVM

Event Timeline

dberlin accepted this revision.Jun 21 2017, 7:10 PM
This revision is now accepted and ready to land.Jun 21 2017, 7:10 PM
kuhar updated this revision to Diff 104070.Jun 26 2017, 6:53 PM

Update the diff.

This revision was automatically updated to reflect the committed changes.