https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58497

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu Oct 22 13:36:46 2015
New Revision: 229173

URL: https://gcc.gnu.org/viewcvs?rev=229173&root=gcc&view=rev
Log:
2015-10-22  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/58497
        * tree-vect-generic.c (ssa_uniform_vector_p): New helper.
        (expand_vector_operations_1): Use it.  Lower operations on
        all uniform vectors to scalar operations if the HW supports it.

        * gcc.dg/tree-ssa/vector-5.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/vector-5.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-generic.c

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Now we fix this up in veclower, still the bug should be addressed in SLP
directly
(also because it affects cost decisions).

Reply via email to