riscv-protos.h
3.8 KB
-
RISC-V: Disallow regrenme if the TO register never used before for interrupt functions · e0a5b313
gcc/ChangeLog PR target/93304 * config/riscv/riscv-protos.h (riscv_hard_regno_rename_ok): New. * config/riscv/riscv.c (riscv_hard_regno_rename_ok): New. * config/riscv/riscv.h (HARD_REGNO_RENAME_OK): Defined. gcc/testsuite/ChangeLog PR target/93304 * gcc.target/riscv/pr93304.c: New test.
Kito Cheng committed