This patch teaches ADCE to preserve both DominatorTrees and PostDominatorTrees.
I didn't notice any performance impact when bootstrapping clang with this patch.
Paths
| Differential D35869
[ADCE][Dominators] Teach ADCE to preserve dominators ClosedPublic Authored by kuhar on Jul 25 2017, 5:35 PM.
Details
Summary This patch teaches ADCE to preserve both DominatorTrees and PostDominatorTrees. I didn't notice any performance impact when bootstrapping clang with this patch.
Diff Detail
Event TimelineComment Actions Can you push all these patches to a branch so that Zhendong can do a run on fuzz-testing on them? Davide This revision is now accepted and ready to land.Aug 16 2017, 12:53 AM Closed by commit rL311039: [ADCE][Dominators] Teach ADCE to preserve dominators (authored by kuhar). · Explain WhyAug 16 2017, 1:52 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 111419 llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h
llvm/trunk/lib/Transforms/Scalar/ADCE.cpp
llvm/trunk/test/Transforms/ADCE/domtree-DoubleDeletion.ll
llvm/trunk/test/Transforms/ADCE/unreachable.ll
|