]> gcc.gnu.org Git - gcc.git/commit
gimple-ssa-strength-reduction.c (valid_mem_ref_cand_p): New function.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 2 Sep 2019 08:14:47 +0000 (08:14 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 2 Sep 2019 08:14:47 +0000 (08:14 +0000)
commit0f605e4049160519f72d1824b3307ff8cdfc31dd
tree84276c05422fcf6ca3e6133801937224cd916742
parentc746efcab3f7b2b02511f358f2d6ca37f3fcac5f
gimple-ssa-strength-reduction.c (valid_mem_ref_cand_p): New function.

* gimple-ssa-strength-reduction.c (valid_mem_ref_cand_p): New function.
(replace_ref): Do not replace a chain of only two candidates which are
valid memory references.

From-SVN: r275297
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/slsr-42.c [new file with mode: 0644]
This page took 0.072156 seconds and 5 git commands to generate.