On 11/17/2017 09:06 AM, Richard Sandiford wrote:
> The call to ifc_temp_var in predicate_mem_writes become redundant
> in r230099. Before that point the mask was calculated using
> fold_build_*s, but now it's calculated by gimple_build and so
> is already a valid gimple value.
>
> As it stands, the call forces an SSA_NAME-to-SSA_NAME copy
> to be created, whereas SLP expects that such redundant copies
> have already been eliminated.
>
> This is latent at the moment, but since it's dead code...
>
> Tested on aarch64-linux-gnu (with and without SVE), x86_64-linux-gnu
> and powerpc64le-linux-gnu. OK to install?
>
> Richard
>
>
> 2017-11-17 Richard Sandiford <richard.sandif...@linaro.org>
>
> gcc/
> * tree-if-conv.c (predicate_mem_writes): Remove redundant
> call to ifc_temp_var.
OK.
jeff