r278290 - in /trunk/gcc: ChangeLog config/gcn/g...

kcy@gcc.gnu.org kcy@gcc.gnu.org
Fri Nov 15 12:54:00 GMT 2019


Author: kcy
Date: Fri Nov 15 12:54:40 2019
New Revision: 278290

URL: https://gcc.gnu.org/viewcvs?rev=278290&root=gcc&view=rev
Log:
[amdgcn] Fix handling of VCC_CONDITIONAL_REG

Classify vcc_lo and vcc_hi into the VCC_CONDITIONAL_REG class,
and spill them into SGPRs if necessary.

2019-11-15  Kwok Cheung Yeung  <kcy@codesourcery.com>

	gcc/
	* config/gcn/gcn.c (gcn_regno_reg_class): Return VCC_CONDITIONAL_REG
	register class for VCC_LO and VCC_HI.
	(gcn_spill_class): Use SGPR_REGS to spill registers in
	VCC_CONDITIONAL_REG.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/gcn/gcn.c



More information about the Gcc-cvs mailing list