[PATCH] D35315: [Dominators] Make IsPostDominator a template parameter

Daniel Berlin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 10:29:53 PDT 2017


dberlin added a comment.

For the cases that are always true, can you just use PostDominatorTree instead?

IE why is it:

  PDT.reset(new DominatorTreeBase<BasicBlock, true>());

Instead of PDT.reset(new PostDominatorTree());


https://reviews.llvm.org/D35315





More information about the llvm-commits mailing list