This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Simple Value Range Propagation


> Also, if I read your patch correctly, you enable vrp at -O1.
> How about moving it to -O2, or maybe even -O3,

Of course, moving it to -O2 or -O3 is trivial. I thought that when
cleanup_cfg and if_convert is run at -O1 VRP might be run there as well.

> given the 2% compile time performance degradation vs. only 0.5%
> runtime performance improvement you reported?

I think 2% of compile time is relativelly cheap optimization pass,
and 0.5% is really good (it's more than I expected, it is also good in
comparision with other optimizations).

Josef


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]