Fold vector to scalar optimization
Richard Guenther
richard.guenther@gmail.com
Wed Nov 3 21:09:00 GMT 2010
On Wed, Nov 3, 2010 at 7:11 PM, Artem Shinkarov
<artyom.shinkaroff@gmail.com> wrote:
> ChangeLog:
>
> 2010-11-01 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
>
> gcc/
> * passes.c (init_optimization_passes): Move veclower after SSA.
> * tree-vect-generic.c (expand_vector_operations_1): Handle conversion.
>
> gcc/testsuite/
> * gcc.dg/vec-scal-opt.c: New testcase.
> * gcc.dg/vec-scal-opt1.c: New testcase.
> * gcc.dg/vec-scal-opt2.c: New testcase.
I am retesting the following variant which I slightly changed and will commit it
after that succeeded.
Richard.
2010-11-03 Artjoms Sinkarovs <artyom.shinakroff@gmail.com>
Richard Guenther <rguenther@suse.de>
* passes.c (init_optimization_passes): Move veclower after SSA.
* tree-vect-generic.c (uniform_vector_p): New function.
(expand_vector_operations_1): Handle conversion.
testsuite/
* gcc.dg/vec-scal-opt.c: New testcase.
* gcc.dg/vec-scal-opt1.c: New testcase.
* gcc.dg/vec-scal-opt2.c: New testcase.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vec-scal-opt.c.v5.diff
Type: text/x-patch
Size: 8291 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101103/0c3c2050/attachment.bin>
More information about the Gcc-patches
mailing list