This is an archive of the discontinued LLVM Phabricator instance.

[Dominators] Move InfoRec outside of DominatorTreeBase
ClosedPublic

Authored by kuhar on Jun 16 2017, 4:45 PM.

Details

Summary

The InfoRec struct is used only during tree construction, so there is no point having it as a DominatorTreeBase member.

This patch moves it into the Calculate function instead and makes it pass it to its helper functions.

Diff Detail

Repository
rL LLVM

Event Timeline

kuhar updated this revision to Diff 102928.Jun 16 2017, 6:41 PM

Update patch to apply cleanly.

dberlin accepted this revision.Jun 16 2017, 9:52 PM
This revision is now accepted and ready to land.Jun 16 2017, 9:52 PM
kuhar updated this revision to Diff 104457.Jun 28 2017, 10:40 AM

Update the diff to apply cleanly.

This revision was automatically updated to reflect the committed changes.