This patch moves root-finding logic from DominatorTreeBase to GenericDomTreeConstruction.h.
It makes the behavior simpler and more consistent by always adding a virtual root to PostDominatorTrees.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D35597
[Dominators] Move root-finding out of DomTreeBase and simplify it ClosedPublic Authored by kuhar on Jul 18 2017, 6:08 PM.
Details Summary This patch moves root-finding logic from DominatorTreeBase to GenericDomTreeConstruction.h.
Diff Detail Event Timelinekuhar added a child revision: D35851: [Dominators] Include infinite loops in PostDominatorTree.Jul 25 2017, 12:57 PM kuhar added a child revision: D35636: [Dominators] Change Roots type to SmallVector.Jul 25 2017, 6:43 PM Comment ActionsPing. I have patches depending on this one. This revision is now accepted and ready to land.Jul 26 2017, 10:08 AM Closed by commit rL309146: [Dominators] Move root-finding out of DomTreeBase and simplify it (authored by kuhar). · Explain WhyJul 26 2017, 11:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 107218 include/llvm/IR/Dominators.h
include/llvm/Support/GenericDomTree.h
include/llvm/Support/GenericDomTreeConstruction.h
lib/IR/Dominators.cpp
|
s/NodeT */NodePtr