(find_reloads): If have any earlyclobbers, don't let any reloads overlap with them.

(find_reloads): If have any earlyclobbers, don't let any
reloads overlap with them.  Make everything RELOAD_OTHER.

From-SVN: r2037
This commit is contained in:
Richard Stallman 1992-09-02 21:21:19 +00:00
parent 301a5c0b57
commit c07c29b98c

View File

@ -3276,6 +3276,13 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
if (output_address && reload_when_needed[i] == RELOAD_OTHER)
reload_needed_for_multiple[i] = 1;
/* If we have earlyclobbers, make sure nothing overlaps them. */
if (n_earlyclobbers > 0)
{
reload_when_needed[i] = RELOAD_OTHER;
reload_needed_for_multiple[i] = 1;
}
}
}