This is an archive of the discontinued LLVM Phabricator instance.

[Dominators] Simplify templates
ClosedPublic

Authored by kuhar on Jul 11 2017, 6:20 PM.

Details

Summary

DominatorTreeBase and related classes used overcomplicated template machinery. This patch simplifies them and gets rid of DominatorTreeBaseTraits and DominatorTreeBaseByTraits, which weren't actually used outside the DomTree construction.

Diff Detail

Repository
rL LLVM

Event Timeline

dberlin accepted this revision.Jul 11 2017, 8:34 PM
This revision is now accepted and ready to land.Jul 11 2017, 8:34 PM
davide accepted this revision.Jul 12 2017, 8:17 AM

LGTM

grosser accepted this revision.Jul 12 2017, 10:41 PM

Nice, indeed!

kuhar updated this revision to Diff 106516.Jul 13 2017, 1:42 PM

Update the diff to apply cleanly.

This revision was automatically updated to reflect the committed changes.