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

--- Comment #16 from rguenther at suse dot de <rguenther at suse dot de> ---
On Fri, 8 Jul 2016, bmei at broadcom dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71264
> 
> Bingfeng Mei <bmei at broadcom dot com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |bmei at broadcom dot com
> 
> --- Comment #15 from Bingfeng Mei <bmei at broadcom dot com> ---
> Hi, Richard, I updated to the latest patches. But our target still failed in
> the same way as other people reported. footype gets V4QI instead of SI because
> we have it supported in vector_mode_supported_p. Thus the following error.
> 
>  not vectorized: vector stmt in loop:temp_14 = VIEW_CONVERT_EXPR<footype>(_8);
> 
> I guess your patch in vect_init_vector is supposed to fix this. But the
> execution doesn't even hit vect_init_vector.

The patch wasn't supposed to make this case vectorized but fix the ICE.
On targets where the vector mode is not supported it happens to also
vectorize it.

Making the vectorizer deal with existing vector types is a much harder
task (I tried for a few hours but failed, there are too many rough
spots to fix)

Reply via email to