rtl.h (PUT_MODE_RAW): New macro.
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 19 May 2015 07:10:30 +0000 (07:10 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 19 May 2015 07:10:30 +0000 (07:10 +0000)
commit8deccbb7c8e1a654f96a396125fd55a06d908de8
treee80e5feb9d03c58ba2389923025b96b099c6ff0e
parent5d2446b1ed3a1b5342eebc4bc6da93740c400428
rtl.h (PUT_MODE_RAW): New macro.

gcc/
* rtl.h (PUT_MODE_RAW): New macro.
(PUT_REG_NOTE_KIND): Use it.
(set_mode_and_regno): Declare.
(gen_raw_REG): Change regno to "unsigned int".
(gen_rtx_REG): Change "unsigned" to "unsigned int".
(PUT_MODE): Forward to PUT_MODE_RAW for generators, otherwise
use set_mode_and_regno to change the mode of registers.
* gengenrtl.c (gendef): Use PUT_MODE_RAW.
* emit-rtl.c (set_mode_and_regno): New function.
(gen_raw_REG): Change regno to unsigned int.  Use set_mode_and_regno.
* caller-save.c (reg_save_code): Use set_mode_and_regno.
* expr.c (init_expr_target): Likewise.
* ira.c (setup_prohibited_mode_move_regs): Likewise.
* postreload.c (reload_cse_simplify_operands): Likewise.

From-SVN: r223341
gcc/ChangeLog
gcc/caller-save.c
gcc/emit-rtl.c
gcc/expr.c
gcc/gengenrtl.c
gcc/ira.c
gcc/postreload.c
gcc/rtl.h