PRU: Remove TARGET_HARD_REGNO_CALL_PART_CLOBBERED
authorDimitar Dimitrov <dimitar@dinux.eu>
Sun, 15 Sep 2019 15:01:22 +0000 (18:01 +0300)
committerDimitar Dimitrov <dimitar@dinux.eu>
Tue, 5 May 2020 17:42:57 +0000 (20:42 +0300)
commit1ea8de4c8c23791c2c1ca231cc3461a4a9fc1efb
tree1507f675645916d8a880dba266cf890a7bed5422
parent931dfb70abce3d979b8fa81e3b7c7dfcfecb0cd4
PRU: Remove TARGET_HARD_REGNO_CALL_PART_CLOBBERED

Per clarification in [1], macro is supposed to check for partial
clobbering of single HW registers. Since PRU declares only 8-bit
HW registers, and ABI does not define individual bit clobbering,
it is safe to remove the implementation.

[1] https://gcc.gnu.org/ml/gcc-patches/2019-09/msg00778.html

gcc/ChangeLog:

2020-05-05  Dimitar Dimitrov  <dimitar@dinux.eu>

* config/pru/pru.c (pru_hard_regno_call_part_clobbered): Remove.
(TARGET_HARD_REGNO_CALL_PART_CLOBBERED): Remove.

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
gcc/ChangeLog
gcc/config/pru/pru.c