[PATCH] Add optab checks to vector extraction path in vectorizable_store

Jakub Jelinek jakub@redhat.com
Tue Aug 1 13:51:00 GMT 2017


On Tue, Aug 01, 2017 at 03:19:28PM +0200, Richard Biener wrote:
> +	      if (lvectype != vectype)
> +		{
> +		  tree tem = make_ssa_name (lvectype);
> +		  gimple *pun= gimple_build_assign (tem, build1
> +				(VIEW_CONVERT_EXPR, lvectype, vec_oprnd));

Too weird formatting, can you use:
		  gimple *pun
		    = gimple_build_assign (tem, build1 (VIEW_CONVERT_EXPR,
							lvectype, vec_oprnd));
instead?

> +		  vect_finish_stmt_generation (stmt, pun, gsi);
> +		  vec_oprnd = tem;
> +		}
>  	      for (i = 0; i < nstores; i++)
>  		{
>  		  tree newref, newoff;

	Jakub



More information about the Gcc-patches mailing list