diff options
author | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-05-28 11:33:50 +0000 |
---|---|---|
committer | Yevgeny Rouban <yevgeny.rouban@azul.com> | 2019-05-28 11:33:50 +0000 |
commit | 53f2f3286572cb879b3861d7c15480e4d830dd3b (patch) | |
tree | 7f25070018c0164b4c0b0f8c173f4d7204565b59 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 5b86163f62d18040614df8ad445012635029eba2 (diff) | |
download | llvm-53f2f3286572cb879b3861d7c15480e4d830dd3b.zip llvm-53f2f3286572cb879b3861d7c15480e4d830dd3b.tar.gz llvm-53f2f3286572cb879b3861d7c15480e4d830dd3b.tar.bz2 |
[CorrelatedValuePropagation] Fix prof branch_weights metadata handling for SwitchInst
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: 361808
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions