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

--- Comment #6 from Marc Glisse <glisse at gcc dot gnu.org> 2012-09-18 16:06:43 
UTC ---
(In reply to comment #2)
> The bug is obvious, vect_gen_perm_mask is not suitable for uses outside of the
> vectorizer, it uses e.g. current_vector_size.

Argh, I was happy to find a function that did just what I needed, and I
couldn't see any reason why it would need anything besides what was passed as
arguments, so I went ahead without looking too closely, sorry. Thanks a lot
Jakub for handling it so quickly (I am away for the first half of this week).

By the way, I still don't understand why vect_gen_perm_mask uses
current_vector_size when it has nunits at its disposal. Would it be useless to
change that (assuming it makes sense)?

Reply via email to