------- Comment #10 from pinskia at gcc dot gnu dot org  2007-12-16 04:53 
-------
Aftter 
2007-11-06  Jakub Jelinek  <[EMAIL PROTECTED]>

        PR tree-optimization/33993
        * tree-vect-transform.c (vect_get_constant_vectors): Use build_vector
        rather than build_constructor_from_list if all list values are
        constants.
        (get_initial_def_for_induction): Use build_vector instead of
        build_constructor_from_list.

We get for the original testcase:
.L3:
        vadduwm 1,1,0
        vadduwm 0,0,13
        bdnz .L3

As the vectorizer now VECTOR_CST which are handled correctly.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31334

Reply via email to