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.
Paths
| Differential D34305
[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
Event Timelinekuhar added a parent revision: D34295: [Dominators] Move number to node mapping out of DominatorTreeBase. This revision is now accepted and ready to land.Jun 16 2017, 9:52 PM Closed by commit rL306572: [Dominators] Move InfoRec outside of DominatorTreeBase (authored by kuhar). · Explain WhyJun 28 2017, 10:44 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 104459 llvm/trunk/include/llvm/Support/GenericDomTree.h
llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h
|