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

--- Comment #8 from Marc Glisse <glisse at gcc dot gnu.org> 2012-09-18 16:22:09 
UTC ---
(In reply to comment #7)
> It is true that it has TYPE_VECTOR_SUBPARTS at its disposal, but it just uses
> the common vectorizer infrastructure to create vector types.
> The routines it is using also use other vectorizer specific stuff, like
> vect_print_dump_info.

That one probably wouldn't hurt so much, but I see your point, it is really not
meant to be generic.

> So, if you really want, the better way would be to
> create a new helper routine in tree-vect-generic.c, that would do what I've
> changed the routine to do, and use that routine in tree-ssa-forwprop.c and
> possibly in tree-vect-generic.c too.

Thanks, I'll do that if I need it again.

Reply via email to