------- Comment #2 from irar at gcc dot gnu dot org 2008-08-23 17:05 ------- Subject: Bug 37161
Author: irar Date: Sat Aug 23 17:04:12 2008 New Revision: 139518 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139518 Log: PR tree-optimization/37161 * tree-vectorizer.h (vect_get_smallest_scalar_type): Declare. * tree-vect-analyze.c (vect_get_smallest_scalar_type): New function. (vect_determine_vectorization_factor): Move the scalar type retrieval to vect_get_smallest_scalar_type. (vect_build_slp_tree): Call vect_get_smallest_scalar_type to get scalar type. Remove redundant computation. * tree-vect-transform.c (vect_get_constant_vectors): Add argument. (vect_get_slp_defs): Take the type of RHS into account if necessary by calling vect_get_smallest_scalar_type. Call vect_get_constant_vectors with additional argument. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-analyze.c trunk/gcc/tree-vect-transform.c trunk/gcc/tree-vectorizer.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37161