https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98697
--- Comment #4 from Hongtao.liu ---
(In reply to Hongtao.liu from comment #3)
> (In reply to Christophe Lyon from comment #2)
> > Why would this be different from right shift, where we don't miss the
> > optimization?
>
> It's supposed to be han
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98697
--- Comment #3 from Hongtao.liu ---
(In reply to Christophe Lyon from comment #2)
> Why would this be different from right shift, where we don't miss the
> optimization?
It's supposed to be handled in vect_recog_over_widening_pattern, but failed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98697
--- Comment #2 from Christophe Lyon ---
Why would this be different from right shift, where we don't miss the
optimization?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98697
--- Comment #1 from Richard Biener ---
it looks like unpack from short int to int is not supported? That is,
the usual issue is that a[i] << b[i] is a shift of int << ... because
of C integral promotion rules.