Re: Remove unnecessary temporary in tree-if-conv.c

2017-11-17 Thread Jeff Law
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, t

Remove unnecessary temporary in tree-if-conv.c

2017-11-17 Thread Richard Sandiford
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, wh