[PATCH] D22696: [CodeGenPrep] Skip merging empty case blocks

Dehao Chen via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 21 16:03:51 PDT 2016


danielcdh added a comment.

Could you check if https://reviews.llvm.org/D24818 would fix your issue? I suppose when there are mutiple switch targets, each edge is likely to have <50% taken ratio (even with static profile). Thus I guess all critical edges should be splitted by machine sink. Or, if not, you can simply change 50% to 99% and see if it fixes the problem.


https://reviews.llvm.org/D22696





More information about the llvm-commits mailing list