-fprofile-generate and -fprofile-use

Jan Hubicka jh@suse.cz
Thu Sep 1 19:04:00 GMT 2005


> >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



More information about the Gcc mailing list