[PATCH] D60606: [SimpleLoopUnswitch] Implement handling of prof branch_weights metadata for SwitchInst

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 15 04:32:21 PDT 2019


yrouban added a comment.

In D60606#1464782 <https://reviews.llvm.org/D60606#1464782>, @reames wrote:

> 1. We appear to have the same lost profile problem for partial unswitching of branches.


Yes. But I believe that the fix would be unrelated to this patch. I do not see any way to fix branch_weights for partially unswitched branch instruction other than to drop the prof branch_weights metadata.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60606/new/

https://reviews.llvm.org/D60606





More information about the llvm-commits mailing list