This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fixup indirect edge frequencies
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>
- Date: Wed, 21 Jul 2010 21:55:10 +0200
- Subject: Re: [PATCH] Fixup indirect edge frequencies
- References: <20100721130008.GA24181@virgil.arch.suse.de>
> Hi,
>
> the patch below adds missing edge frequencies updates which are
> necessary for my devirtualization patches not to ICEs when it touches
> functions created with cgraph_function_versioning.
>
> Bootstrapped and tested on x86_64-linux. OK for trunk?
>
> Thanks,
>
> Martin
>
> 2010-07-20 Martin Jambor <mjambor@suse.cz>
>
> * cgraphunit.c (verify_edge_count_and_frequency): New function.
> (verify_cgraph_node): Verify frequencies of indirect edges.
> * tree-inline.c (tree_function_versioning): Update frequencies of
> indirect edges.
OK, thanks!
Honza