RFA: small IRA fixes

Vladimir Makarov vmakarov@redhat.com
Thu Sep 4 20:24:00 GMT 2008


This patch contains small fixes

 o in IRA_COVER_CLASSES description (it was proposed
   by Hans-Peter Nelson a few days ago.
 o a small fix in updating hard-register costs from insns
   involving hard registers.  I missed this part when I submitted
   a patch few days ago.  Non zero INSN in process_regs_for_copy
   means that the insn is a move and only move insns are currently
   taken into account in ira-costs.c.
 o some debug functions which was useful for me to solve some
   IRA performance problems.

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

    * ira-conflicts.c (process_regs_for_copy): Check insn to check
    that the cost is already taken into account in ira-costs.c

    * ira-int.h (ira_debug_copy, ira_debug_copies): New.

    * ira-build.c (print_copy, print_copies, ira_debug_copy,
    ira_debug_copies): New.

    * doc/tm.texi (IRA_COVER_CLASSES): Fix the description.
   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: small-fixes.patch
Type: text/x-patch
Size: 3645 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080904/0e418f37/attachment.bin>


More information about the Gcc-patches mailing list