gimple-ssa-strength-reduction.c (struct slsr_cand_d): Add first_interp field.
authorBill Schmidt <wschmidt@linux.ibm.com>
Wed, 23 May 2018 13:26:05 +0000 (13:26 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 23 May 2018 13:26:05 +0000 (13:26 +0000)
commitd71dc99078ea4009a442559028d6110e599cdc96
tree3ed64441c8fec3760555b6c3a3b6612250a99d12
parentd6cb6d6a1c2279deebb45e658cde66f1f91cae05
gimple-ssa-strength-reduction.c (struct slsr_cand_d): Add first_interp field.

2018-05-23  Bill Schmidt  <wschmidt@linux.ibm.com>

* gimple-ssa-strength-reduction.c (struct slsr_cand_d): Add
first_interp field.
(alloc_cand_and_find_basis): Initialize first_interp field.
(slsr_process_mul): Modify first_interp field.
(slsr_process_add): Likewise.
(slsr_process_cast): Modify first_interp field for each new
interpretation.
(slsr_process_copy): Likewise.
(dump_candidate): Dump first_interp field.
(replace_mult_candidate): Process all interpretations, not just
subsequent ones.
(replace_rhs_if_not_dup): Likewise.
(replace_one_candidate): Likewise.

From-SVN: r260608
gcc/ChangeLog
gcc/gimple-ssa-strength-reduction.c