diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-01-13 18:01:14 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-01-13 18:01:14 +0000 |
commit | b89fa419ca39b13b5ed0f7a23722b394b3af399e (patch) | |
tree | 32652296bf8e2489939d82fd7f2ac997b96b6d9e /gcc/fold-const-call.c | |
parent | 9005477f2552a411974c12299f627f80473e17d9 (diff) | |
download | gcc-b89fa419ca39b13b5ed0f7a23722b394b3af399e.zip gcc-b89fa419ca39b13b5ed0f7a23722b394b3af399e.tar.gz gcc-b89fa419ca39b13b5ed0f7a23722b394b3af399e.tar.bz2 |
Remove unnecessary temporary in tree-if-conv.c
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.
2018-01-13 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
* tree-if-conv.c (predicate_mem_writes): Remove redundant
call to ifc_temp_var.
From-SVN: r256638
Diffstat (limited to 'gcc/fold-const-call.c')
0 files changed, 0 insertions, 0 deletions