This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: Profile driven specialization of indirect/virtual calls
On 12/28/06, Tomas Bily <email@example.com> wrote:
this patch does not handle inter-module calls. It works with
-fwhole-program -combine gcc flags but this flags are currently
supported only for C frontend now.
It should still be able to use a direct call for the most called
> Hi Tomas,
> How does this patch handle indirect calls across files ?
> e.g. the caller and the callee are in different source files.
> This particular optimization will be most effective and useful
> when combined with LTO, and for various reasons,
> it would be nice if the profile collection (-fprofile-generate)
> doesn't have to use LTO as well.