[PATCH] D65376: Randomly outline code for cold regions

Aditya Kumar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 4 21:56:13 PDT 2019


hiraditya added a comment.

In D65376#1612295 <https://reviews.llvm.org/D65376#1612295>, @lebedev.ri wrote:

> Do you actually need truly random, non-deterministic transform?


The idea is to aggressively outline more, because for some applications most of the code is cold, getting profile information is difficult and goal is to improve startup time. non-determinism is not required, it will be great to have  a deterministic heuristic. I'm open to ideas.

> Can it instead be solved by non-non-deterministic outlining, based on some heuristic?

There is some heuristic in the static-profile analysis but it does not outline as much.


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

https://reviews.llvm.org/D65376





More information about the llvm-commits mailing list