diff options
author | Max Kazantsev <mkazantsev@azul.com> | 2020-04-14 20:25:31 +0700 |
---|---|---|
committer | Max Kazantsev <mkazantsev@azul.com> | 2020-04-14 20:26:13 +0700 |
commit | f8a42bca2812fb602b0f2f24ce60f8216f6ddf87 (patch) | |
tree | 201c41a27aaf4bbc630b40a672a25d13c00b83c2 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 440b445fff848aded09fe5f7d69ff690113e44e2 (diff) | |
download | llvm-f8a42bca2812fb602b0f2f24ce60f8216f6ddf87.zip llvm-f8a42bca2812fb602b0f2f24ce60f8216f6ddf87.tar.gz llvm-f8a42bca2812fb602b0f2f24ce60f8216f6ddf87.tar.bz2 |
[ADCE] Fix incorrect reporting of CFG changes
This patch fixes 2 related bugs in ADCE:
- `performDeadCodeElimination` does not report changes if it did ONLY
CFG changes (affects both old and new pass managers);
- When control flow removal is enabled, new pass manager does not
drop CFG analyses.
Both can lead to incorrect loop info after ADCE that does only CFG changes.
Differential Revision: https://reviews.llvm.org/D78103
Reviewed By: Denis Antrushin
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions