diff options
author | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-06-17 05:55:12 +0000 |
---|---|---|
committer | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-06-17 05:55:12 +0000 |
commit | ee62c40eae93c180d29e94841fbeb280ee737d26 (patch) | |
tree | fdbbcb0883b4bdaabddb64c70309b9f0e8f46c96 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 1d1cf30b738b88a58919221cc419109ba9519a61 (diff) | |
download | llvm-ee62c40eae93c180d29e94841fbeb280ee737d26.zip llvm-ee62c40eae93c180d29e94841fbeb280ee737d26.tar.gz llvm-ee62c40eae93c180d29e94841fbeb280ee737d26.tar.bz2 |
[SimplifyCFG] Fix prof branch_weights MD while removing unreachable switch cases
SimplifyCFG has a bug that results in inconsistent prof branch_weights metadata
if unreachable switch cases are removed. This patch fixes this bug by making use
of the newly introduced SwitchInstProfUpdateWrapper class (see patch D62122).
A new test is created.
Differential Revision: https://reviews.llvm.org/D62186
llvm-svn: 363527
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions