Re: [PATCH] Fix leslie3d performance regression with -flto/-fwhole-program

2011-06-09 Thread Richard Guenther
On Thu, 9 Jun 2011, Tobias Burnus wrote: > Richard Guenther wrote: > > leslie3d terminates itself with STOP which translates to a noreturn > > function. This causes our edge hot/cold prediction machinery to not > > apply any predictions based on paths to noreturn functions > > > Bootstrapped and

Re: [PATCH] Fix leslie3d performance regression with -flto/-fwhole-program

2011-06-09 Thread Tobias Burnus
Richard Guenther wrote: > leslie3d terminates itself with STOP which translates to a noreturn > function. This causes our edge hot/cold prediction machinery to not > apply any predictions based on paths to noreturn functions > Bootstrapped and tested on x86_64-unknown-linux-gnu. > Ok for trunk?

[PATCH] Fix leslie3d performance regression with -flto/-fwhole-program

2011-06-09 Thread Richard Guenther
leslie3d terminates itself with STOP which translates to a noreturn function. This causes our edge hot/cold prediction machinery to not apply any predictions based on paths to noreturn functions (because there is no path that does not lead to a noreturn function). This in turn makes us predict t