This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fprofile-generate and -fprofile-use
- From: Jan Hubicka <jh at suse dot cz>
- To: Peter Steinmetz <steinmtz at us dot ibm dot com>
- Cc: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>,gcc at gcc dot gnu dot org, girish_vaithees at yahoo dot com, hubicka at ucw dot cz,janis187 at us dot ibm dot com, Steven Bosscher <stevenb at suse dot de>
- Date: Thu, 1 Sep 2005 21:04:50 +0200
- Subject: Re: -fprofile-generate and -fprofile-use
- References: <20050831090340.GA23405@atrey.karlin.mff.cuni.cz> <OF6BA01E8F.9201293A-ON8625706E.0052A364-8625706E.005321D4@us.ibm.com>
> >you may try adding -fmove-loop-invariants flag, which enables new
> >invariant motion pass.
>
> That cleaned up both my simplified test case, and the code it
> originated from. It also cleaned up a few other cases where I
> was noticing worse performance with FDO enabled. Thanks!!
>
> Perhaps this option should be enabled by default when doing FDO
> to replace the loop invariant motions done by the recently
> disabled loop optimize pass.
This sounds like sane idea. Zdenek, is -fmove-loop-invariants dangerous
in some way or just disabled because old loop does the same?
Honza
>
> Pete