diff options
author | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-06-05 05:46:40 +0000 |
---|---|---|
committer | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-06-05 05:46:40 +0000 |
commit | a3e16719c46aff109a6902c32787c06831c0e61d (patch) | |
tree | e32e338790f39c374724f86a54eab43849f5ee24 /clang/lib/CodeGen/CoverageMappingGen.cpp | |
parent | fa449a9bb27abdc43a4dbd17dc84d920f5f408d8 (diff) | |
download | bcm5719-llvm-a3e16719c46aff109a6902c32787c06831c0e61d.tar.gz bcm5719-llvm-a3e16719c46aff109a6902c32787c06831c0e61d.zip |
Resubmit "[CorrelatedValuePropagation] Fix prof branch_weights metadata handling for SwitchInst"
This reverts commit 5b32f60ec31ce136edac6f693538aeb6039f4ad0.
The fix is in commit 4f9e68148bd0dada2d6997625432385918ac2e2c.
This patch fixes the CorrelatedValuePropagation pass to keep
prof branch_weights metadata of SwitchInst consistent.
It makes use of SwitchInstProfUpdateWrapper.
New tests are added.
Reviewed By: nikic
Differential Revision: https://reviews.llvm.org/D62126
llvm-svn: 362583
Diffstat (limited to 'clang/lib/CodeGen/CoverageMappingGen.cpp')
0 files changed, 0 insertions, 0 deletions