[PATCH] D48967: [Dominators] Convert existing passes and utils to use the DomTreeUpdater class

Chijun Sima via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 24 07:11:35 PDT 2018


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

1. Address comments.
2. Replace previous raw DT operations into incremental updates to simplify logic.
3. Implement a simple unit-test for `RemoveUnreachableBlocks`.


https://reviews.llvm.org/D48967

Files:
  include/llvm/Transforms/Scalar/JumpThreading.h
  include/llvm/Transforms/Utils/BasicBlockUtils.h
  include/llvm/Transforms/Utils/Local.h
  lib/Transforms/Scalar/ADCE.cpp
  lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  lib/Transforms/Scalar/GVN.cpp
  lib/Transforms/Scalar/JumpThreading.cpp
  lib/Transforms/Scalar/LoopSimplifyCFG.cpp
  lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  lib/Transforms/Utils/BasicBlockUtils.cpp
  lib/Transforms/Utils/Local.cpp
  lib/Transforms/Utils/LoopRotationUtils.cpp
  lib/Transforms/Utils/LoopUtils.cpp
  unittests/Transforms/Utils/Local.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48967.157023.patch
Type: text/x-patch
Size: 59084 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180724/6602a4c3/attachment.bin>


More information about the llvm-commits mailing list