(cse_insn): After inserting src_eqv...

(cse_insn): After inserting src_eqv, check to see if it is
identical to any uninserted SET_SRCs, and if so, set their src_elt
to src_eqv_elt.

From-SVN: r5129
This commit is contained in:
Jim Wilson 1993-08-10 12:11:27 -07:00
parent 7033d44cd6
commit f7911249bb
1 changed files with 8 additions and 0 deletions

View File

@ -6724,6 +6724,14 @@ cse_insn (insn, in_libcall_block)
elt->in_memory = src_eqv_in_memory;
elt->in_struct = src_eqv_in_struct;
src_eqv_elt = elt;
/* Check to see if src_eqv_elt is the same as a set source which
does not yet have an elt, and if so set the elt of the set source
to src_eqv_elt. */
for (i = 0; i < n_sets; i++)
if (sets[i].rtl && sets[i].src_elt == 0
&& rtx_equal_p (SET_SRC (sets[i].rtl), src_eqv))
sets[i].src_elt = src_eqv_elt;
}
for (i = 0; i < n_sets; i++)