Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SimplifyCFG] Fix prof branch_weights MD while removing unreachable switch cases | Yevgeny Rouban | 2019-06-17 | 1 | -0/+35 |
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 |