Re: [PATCH] Prevent excessive loop-header copying with multiple exits

2018-05-02 Thread Richard Biener
On Mon, 30 Apr 2018, Kyrill Tkachov wrote: > Hi Richard, > > > On 27/04/18 09:24, Richard Biener wrote: > > On Thu, 26 Apr 2018, Richard Biener wrote: > > > > > > > > The following makes loop-header copying stop after the first exit test > > > it copied. The reports rightfully complain about t

Re: [PATCH] Prevent excessive loop-header copying with multiple exits

2018-04-30 Thread Kyrill Tkachov
Hi Richard, On 27/04/18 09:24, Richard Biener wrote: On Thu, 26 Apr 2018, Richard Biener wrote: > > The following makes loop-header copying stop after the first exit test > it copied. The reports rightfully complain about too much peeling. > If some cases pop up which show we should peel up t

Re: [PATCH] Prevent excessive loop-header copying with multiple exits

2018-04-27 Thread Richard Biener
On Thu, 26 Apr 2018, Richard Biener wrote: > > The following makes loop-header copying stop after the first exit test > it copied. The reports rightfully complain about too much peeling. > If some cases pop up which show we should peel up to a specific test > we need to improve this heuristic wh

[PATCH] Prevent excessive loop-header copying with multiple exits

2018-04-26 Thread Richard Biener
The following makes loop-header copying stop after the first exit test it copied. The reports rightfully complain about too much peeling. If some cases pop up which show we should peel up to a specific test we need to improve this heuristic which simply errs on the easy side. Bootstrap & regtest