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

Yuri Rumyantsev ysrumyan@gmail.com
Thu Oct 8 13:52:00 GMT 2015


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  <ysrumyan@gmail.com>

* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.outer-vec
Type: application/octet-stream
Size: 2516 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151008/a111591f/attachment.obj>


More information about the Gcc-patches mailing list