[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
Thu Jul 5 06:35:11 PDT 2018
NutshellySima created this revision.
NutshellySima added reviewers: brzycki, kuhar, dmgreen, grosser, davide.
Herald added a subscriber: llvm-commits.
This patch is the second in a series of patches related to the RFC - A new dominator tree updater for LLVM <http://lists.llvm.org/pipermail/llvm-dev/2018-June/123883.html>.
It converts passes (e.g. adce/jump-threading) and various functions which currently accept DDT in local.cpp and BasicBlockUtils.cpp to use the new DomTreeUpdater class.
These converted functions in utils can accept DomTreeUpdater with either UpdateStrategy and can deal with both DT and PDT held by the DomTreeUpdater.
Repository:
rL LLVM
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
unittests/Transforms/Utils/Local.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48967.154220.patch
Type: text/x-patch
Size: 54733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180705/340fc693/attachment.bin>
More information about the llvm-commits
mailing list