[PATCH] D34493: [Dominators] Remove DominatorBase class

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 21 19:06:33 PDT 2017


kuhar created this revision.

DominatorBase class was only used by DominatorTreeBase. It didn't provide any useful abstractions, nor simplified anything, so I see no point keeping it.

This commit removes the DominatorBase class and moves its content into DominatorTreeBase.

This is the first patch in a series that tries to make all DomTrees have a single virtual root, which will allow to further simplify code (especially when it comes to incremental updates).


https://reviews.llvm.org/D34493

Files:
  include/llvm/Support/GenericDomTree.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34493.103512.patch
Type: text/x-patch
Size: 4383 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170622/c3b29c5a/attachment.bin>


More information about the llvm-commits mailing list