This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]