Re: [PATCH] Fix PR84777

2018-03-09 Thread Jakub Jelinek
On Fri, Mar 09, 2018 at 02:23:13PM +0100, Richard Biener wrote: > > With -Os we inhibit most loop header copying which in turn will disable > any vectorization attempt either via -fopenmp or via -ftree-vectorize. > > The following makes sure the aggressive gate in > should_duplicate_loop_header_

[PATCH] Fix PR84777

2018-03-09 Thread Richard Biener
With -Os we inhibit most loop header copying which in turn will disable any vectorization attempt either via -fopenmp or via -ftree-vectorize. The following makes sure the aggressive gate in should_duplicate_loop_header_p is not applied for force-vectorize loops. There's still PARAM_MAX_LOOP_HEA