diff options
author | Jakub Kuderski <kubakuderski@gmail.com> | 2017-08-17 01:41:49 +0000 |
---|---|---|
committer | Jakub Kuderski <kubakuderski@gmail.com> | 2017-08-17 01:41:49 +0000 |
commit | fd5c5c9144689980ba9818fb98908734cf4e8052 (patch) | |
tree | 2b3762d30b9567d6e257091b2363ed8c60cd760f /llvm/lib/CodeGen/MachineCopyPropagation.cpp | |
parent | 314a0050024838aeba03dee7b1956cf622bd7bdb (diff) | |
download | bcm5719-llvm-fd5c5c9144689980ba9818fb98908734cf4e8052.tar.gz bcm5719-llvm-fd5c5c9144689980ba9818fb98908734cf4e8052.zip |
Reapply: [ADCE][Dominators] Teach ADCE to preserve dominators
Summary:
This patch teaches ADCE to preserve both DominatorTrees and PostDominatorTrees.
I didn't notice any performance impact when bootstrapping clang with this patch.
The patch was originally committed in r311039 and reverted in r311049.
This revision fixes the problem with not adding a dependency on the
DominatorTreeWrapperPass for the LegacyPassManager.
Reviewers: dberlin, chandlerc, sanjoy, davide, grosser, brzycki
Reviewed By: davide
Subscribers: grandinj, zhendongsu, llvm-commits, david2050
Differential Revision: https://reviews.llvm.org/D35869
llvm-svn: 311057
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions