[ira] patch fixing a performance degradation for sh4

Vladimir Makarov vmakarov@redhat.com
Sun Apr 6 23:21:00 GMT 2008


The following patch fixes a problem reported by Kaz Kojima in

http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00467.html

2008-04-06  Vladimir Makarov  <vmakarov@redhat.com>

	* ira-int.h (reg_class_intersect, reg_class_union): Add comments.
	
	* hard-reg-set.h (reg_class_subclasses): New external definition.

	* ira.c (setup_reg_class_intersect_union): Define for classes
	containing no hard registers available for allocation.

	* regclass.c (reg_class_subclasses): Make it external.

	* config/sh/sh.h (IRA_COVER_CLASSES): Add TARGET_REGS.
	


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sh4.patch
Type: text/x-patch
Size: 6326 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080406/360103a3/attachment.bin>


More information about the Gcc-patches mailing list