Update remaining calls to choose_hard_reg_mode
2019-10-01 Richard Sandiford <richard.sandiford@arm.com> gcc/ * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Update call to choose_hard_reg_mode. * config/sparc/sparc.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise. From-SVN: r276388
This commit is contained in:
parent
bd2d1b3d44
commit
ba8fa8daf5
@ -1,3 +1,9 @@
|
||||
2019-10-01 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* regs.h (HARD_REGNO_CALLER_SAVE_MODE): Update call to
|
||||
choose_hard_reg_mode.
|
||||
* config/sparc/sparc.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
|
||||
|
||||
2019-10-01 Segher Boessenkool <segher@kernel.crashing.org>
|
||||
|
||||
* doc/md.texi (vec_pack_trunc_@var{m}): Fix typo.
|
||||
|
@ -716,7 +716,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
mode but the largest suitable mode for the given (REGNO, NREGS) pair and
|
||||
it quickly creates paradoxical subregs that can be problematic. */
|
||||
#define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \
|
||||
((MODE) == VOIDmode ? choose_hard_reg_mode (REGNO, NREGS, false) : (MODE))
|
||||
((MODE) == VOIDmode ? choose_hard_reg_mode (REGNO, NREGS, NULL) : (MODE))
|
||||
|
||||
/* Specify the registers used for certain standard purposes.
|
||||
The values of these macros are register numbers. */
|
||||
|
@ -192,7 +192,7 @@ extern int caller_save_needed;
|
||||
/* Select a register mode required for caller save of hard regno REGNO. */
|
||||
#ifndef HARD_REGNO_CALLER_SAVE_MODE
|
||||
#define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \
|
||||
choose_hard_reg_mode (REGNO, NREGS, false)
|
||||
choose_hard_reg_mode (REGNO, NREGS, NULL)
|
||||
#endif
|
||||
|
||||
/* Target-dependent globals. */
|
||||
|
Loading…
Reference in New Issue
Block a user