Emma Espinosa via llvm-dev
2016-Jul-15 10:14 UTC
[llvm-dev] Optimizations using profile information
Hi, Which optimization passes use profile information? http://llvm.org/docs/Passes.html seems to suggest only block placement uses it, is that correct? Emma. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160715/46cc3ccc/attachment.html>
Mehdi Amini via llvm-dev
2016-Jul-16 04:05 UTC
[llvm-dev] Optimizations using profile information
> On Jul 15, 2016, at 3:14 AM, Emma Espinosa via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > Hi, > 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. — Mehdi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160715/2d462788/attachment.html>
Piotr Padlewski via llvm-dev
2016-Jul-16 16:02 UTC
[llvm-dev] Optimizations using profile information
2016-07-15 21:05 GMT-07:00 Mehdi Amini via llvm-dev <llvm-dev at lists.llvm.org>:> > On Jul 15, 2016, at 3:14 AM, Emma Espinosa via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > > Hi, > Which optimization passes use profile information? > 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. > > ThinLTO doesn't care much about profile date right now, but it should in 2months. Piotr> — > Mehdi > >> _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160716/6d0ee504/attachment.html>
Seemingly Similar Threads
- InductiveRangeCheckElimination and BranchProbabilityInfo
- InductiveRangeCheckElimination and BranchProbabilityInfo
- [LLVMdev] Branch transformation with branch-weight metadata
- [LLVMdev] Path forward on profile guided inlining?
- [LLVMdev] [RFC] BlockFrequency is the wrong metric; we need a new one