https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105394

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think the fix should rather be to the

      else 
        aa = tree_vec_extract (gsi, cond_type, a, width, index);

part which assumes that if a is not a comparison or a integer mode mask then
the mask vector element width is the same as the data element width which
isn't the case for VnBImode vectors (neither on MVE which can have multi-bit
bitsize BImode elements nor on SVE/GCN which I think have one-bit bitsize
BImode elements only).

Reply via email to