[PATCH] D35597: [Dominators] Move root-finding out of DomTreeBase and simplify it

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 18:08:09 PDT 2017


kuhar created this revision.

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.


https://reviews.llvm.org/D35597

Files:
  include/llvm/IR/Dominators.h
  include/llvm/Support/GenericDomTree.h
  include/llvm/Support/GenericDomTreeConstruction.h
  lib/IR/Dominators.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35597.107218.patch
Type: text/x-patch
Size: 10504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170719/1d58fd28/attachment.bin>


More information about the llvm-commits mailing list