------- Comment #18 from hjl at gcc dot gnu dot org  2008-09-02 18:24 -------
Subject: Bug 37243

Author: hjl
Date: Tue Sep  2 18:22:59 2008
New Revision: 139901

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139901
Log:
2008-09-02  Vladimir Makarov  <[EMAIL PROTECTED]>

        PR rtl-opt/37243
        * ira-conflicts.c (REG_SUBREG_P, go_through_subreg): New.
        (process_regs_for_copy): Process subregs.  Refine check when cost
        is taken into account in ira-costs.c.
        (process_reg_shuffles): Use REG_SUBREG_P.
        (add_insn_allocno_copies): Ditto.  Ignore modes.

        * ira-color.c (conflict_allocno_vec): New.
        (COST_HOP_DIVISOR): New macro.
        (update_copy_costs_1): Use it.
        (update_conflict_hard_regno_costs): New function.
        (assign_hard_reg): Use it.
        (ira_color): Allocate and free conflict_allocno_vec.

Modified:
    branches/ira-merge/gcc/ChangeLog.ira
    branches/ira-merge/gcc/ira-color.c
    branches/ira-merge/gcc/ira-conflicts.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37243

Reply via email to