+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.
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. */
/* 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. */