[PATCH] Create VECTOR_CST instead of CONSTRUCTORs where possible in the vectorizer (PR tree-optimization/33993)

Mark Mitchell mark@codesourcery.com
Tue Nov 6 02:44:00 GMT 2007


Jakub Jelinek wrote:

> 2007-11-05  Jakub Jelinek  <jakub@redhat.com>
> 
> 	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.
> 
> 	* gcc.c-torture/compile/20071105-1.c: New test.

OK.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list