Re: [PATCH] Fix noreturn predictor to also work with no regular exits

2011-06-09 Thread Richard Guenther
On Thu, 9 Jun 2011, Richard Guenther wrote: > > This is a complementary fix for the leslie3d problem. For functions > without a regular exit (for example one that exits with exit (0)) > we do not apply noreturn predictors. The following patch notices > that edges to noreturn calls are still un

[PATCH] Fix noreturn predictor to also work with no regular exits

2011-06-09 Thread Richard Guenther
This is a complementary fix for the leslie3d problem. For functions without a regular exit (for example one that exits with exit (0)) we do not apply noreturn predictors. The following patch notices that edges to noreturn calls are still unlikely if they have exactly one predecessor and is not