[PATCH] D111806: [LICM] Check the number of divergent paths from loop header to target block

JinGu Kang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 14 08:05:39 PDT 2021


jaykang10 added a comment.

I would like to mention one thing.

This patch is not related to register pressure or live range. It checks the number of divergent paths from loop header to the block which has loop invariant code. If the number is too big, the probability of the instruction being executed is small.

LICM pass is already doing similar thing with profile information.


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

https://reviews.llvm.org/D111806



More information about the llvm-commits mailing list