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

--- Comment #9 from Tejas Belagod <belagod at gcc dot gnu.org> ---
This seems to be the issue:

...  VECITYPE is the vector form of PATTERN_STMT's result type.  */

static gimple * 
vect_convert_output (vec_info *vinfo, stmt_vec_info stmt_info, tree type,
                     gimple *pattern_stmt, tree vecitype) 
...

vect_recog_abd_pattern () currently calls vect_convert_output () with vectype
of the new type when it should actually be calling it with pattern_stmt's LHS's
type's vector form.

...
  stmt = vect_convert_output (vinfo, stmt_vinfo, unsign, stmt,
unsigned_vectype);
..

Testing a fix as we speak...

Reply via email to