[PATCH] D19950: Use frequency info to guide Loop Invariant Code Motion.

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 16:24:47 PDT 2016


hfinkel added a comment.

In http://reviews.llvm.org/D19950#425274, @davidxl wrote:

> My concern is that static prediction can certainly get it wrong leading to performance regression. I suggest only check this when real profile data is available.


Why is this any more of a concern here vs. anywhere else we use static heuristics for block frequencies? I'd think that any problems in this regard should be corrected by making our static heuristics more conservative (i.e. weaker), no?


http://reviews.llvm.org/D19950





More information about the llvm-commits mailing list