[PATCH] D46709: [Dominators] Add PDT constructor from Function

Chijun Sima via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 12:08:26 PDT 2018


NutshellySima updated this revision to Diff 148066.
NutshellySima added a comment.

1. Replace PostDomTree with PostDominatorTree in unittests.
2. Refactor codes that first construct PDT and do recalculation immediately in PostDominators.cpp.
3. Replace PostDomTreeBase<BasicBlock> with PostDominatorTree in lib/Transforms/IPO/SampleProfile.cpp.


https://reviews.llvm.org/D46709

Files:
  include/llvm/Analysis/PostDominators.h
  lib/Analysis/PostDominators.cpp
  lib/Transforms/IPO/SampleProfile.cpp
  unittests/IR/DominatorTreeBatchUpdatesTest.cpp
  unittests/IR/DominatorTreeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46709.148066.patch
Type: text/x-patch
Size: 11680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/d3292999/attachment.bin>


More information about the llvm-commits mailing list