Re: [3/9] Remove no_caller_save_reg_set

2019-09-10 Thread Jeff Law
On 9/10/19 10:30 AM, Richard Sandiford wrote: > Reusing the reasoning from the call_fixed_reg_set patch: > > for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) > for (j = 1; j <= MOVE_MAX_WORDS; j++) > if (reg_save_code (i,regno_save_mode[i][j]) == -1) > > should be true whenever regno_save_

[3/9] Remove no_caller_save_reg_set

2019-09-10 Thread Richard Sandiford
Reusing the reasoning from the call_fixed_reg_set patch: for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) for (j = 1; j <= MOVE_MAX_WORDS; j++) if (reg_save_code (i,regno_save_mode[i][j]) == -1) should be true whenever regno_save_mode[i][j] == VOIDmode, which it is for: ~call_used_reg_s