Re: [PATCH] Simple 2-lines fix for outer-loop vectorization.

2015-10-08 Thread Richard Biener
On Thu, Oct 8, 2015 at 3:52 PM, Yuri Rumyantsev  wrote:
> Hi All,
>
> Here is a simple patch which allows to have phi with virtual operands
> in inner-loop loop-closed exit phi in outer-loop vectorization (i.e. a
> phi in the tail of the outer-loop).
>
> Bootstrap and regression testing did not show any new failures.
>
> Is it OK for trunk?

Ok.

> ChangeLog:
>
> 2015-10-08  Yuri Rumyantsev  
>
> * tree-vect-loop.c (vect_analyze_loop_operations): Skip virtual phi
> in the tail of outer-loop.
>
>gcc/testsuite/ChangeLog:
> * gcc.dg/vect/vect-outer-simd-3.c: New test.


[PATCH] Simple 2-lines fix for outer-loop vectorization.

2015-10-08 Thread Yuri Rumyantsev
Hi All,

Here is a simple patch which allows to have phi with virtual operands
in inner-loop loop-closed exit phi in outer-loop vectorization (i.e. a
phi in the tail of the outer-loop).

Bootstrap and regression testing did not show any new failures.

Is it OK for trunk?

ChangeLog:

2015-10-08  Yuri Rumyantsev  

* tree-vect-loop.c (vect_analyze_loop_operations): Skip virtual phi
in the tail of outer-loop.

   gcc/testsuite/ChangeLog:
* gcc.dg/vect/vect-outer-simd-3.c: New test.


patch.outer-vec
Description: Binary data