[llvm-dev] Optimizations using profile information
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Fri Jul 15 21:05:56 PDT 2016
> On Jul 15, 2016, at 3:14 AM, Emma Espinosa via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> Which optimization passes use profile information? http://llvm.org/docs/Passes.html <http://llvm.org/docs/Passes.html> seems to suggest only block placement uses it, is that correct?
Using grep in the codebase to look for BlockFrequencyInfo and BranchProbabilityInfo yield a bunch of middle passes like JumpThreading, LoopUnswitch, LoopVectorize, InductiveRangeCheckElimination. There are more in the CodeGen. And I know that we also try to use it to drive ThinLTO importing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev