This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 3/5] IPA ICF pass
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Martin Liška <mliska at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 28 Sep 2014 04:20:58 +0200
- Subject: Re: [PATCH 3/5] IPA ICF pass
- Authentication-results: sourceware.org; auth=none
- References: <ac1da49f0ee78643bc4521580862fa92e1051764 dot 1402913001 dot git dot mliska at suse dot cz> <20140620073156 dot GC12633 at tsaunders-iceball dot corp dot tor1 dot mozilla dot com> <alpine dot LSU dot 2 dot 11 dot 1407052337210 dot 30120 at tuna dot site> <20140705225351 dot GK16837 at kam dot mff dot cuni dot cz> <53C7E626 dot 8080400 at suse dot cz> <54255A09 dot 1090305 at suse dot cz> <20140926144441 dot GA4266 at x4> <20140926232713 dot GC7334 at kam dot mff dot cuni dot cz> <20140927055921 dot GA299 at x4> <5426940B dot 2060300 at suse dot cz>
>
> Hi.
>
> Thank you Markus for presenting numbers, it corresponds with I measured. If I see correctly, IPA ICF pass takes about 7 seconds,
> the rest is distributed in verifier (not interesting for release version of the compiler) and 'phase opt and generate'. No idea
> what can make the difference?
phase opt and generate just combine all the optimization times together, so it
is same 7 seconds as in the ICF pass :)
1GB of function bodies just to elimnate 2-3% of code seems quite alot. Do you
have any idea how many of those turns out to be different?
It would be nice to be able to release the duplicate bodies from memory after
the equivalency was stablished....
Honza
>
> Martin