[PATCH] D34295: [Dominators] Move number to node mapping out of DominatorTreeBase

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 16 14:41:39 PDT 2017


kuhar created this revision.

Number to node mapping in DominatorTreeBase is used only during calculation, so there is no point keeping is as a member variable. This patch moves this mapping to Calculate function and passes it to helper functions. It also makes the name more descriptive.


Repository:
  rL LLVM

https://reviews.llvm.org/D34295

Files:
  include/llvm/Support/GenericDomTree.h
  include/llvm/Support/GenericDomTreeConstruction.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34295.102879.patch
Type: text/x-patch
Size: 10327 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170616/bacfb0ae/attachment.bin>


More information about the llvm-commits mailing list