arm: Add support for VPR_REG in arm_class_likely_spilled_p
authorChristophe Lyon <christophe.lyon@arm.com>
Wed, 13 Oct 2021 09:16:14 +0000 (09:16 +0000)
committerChristophe Lyon <christophe.lyon@foss.st.com>
Tue, 22 Feb 2022 15:55:06 +0000 (15:55 +0000)
commit6769084fdf159fb5c0fd20c8d28cfef5b2126cb0
tree7c1cc915817180d7e3084172cf13891245627f51
parentbf3e36fbf13f0db44a79988036cb9c042288841a
arm: Add support for VPR_REG in arm_class_likely_spilled_p

VPR_REG is the only register in its class, so it should be handled by
TARGET_CLASS_LIKELY_SPILLED_P, which is achieved by calling
default_class_likely_spilled_p.  No test fails without this patch, but
it seems it should be implemented.

Most of the work of this patch series was carried out while I was
working at STMicroelectronics as a Linaro assignee.

2022-02-22  Christophe Lyon  <christophe.lyon@arm.com>

gcc/
* config/arm/arm.cc (arm_class_likely_spilled_p): Handle VPR_REG.
gcc/config/arm/arm.cc