This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't init ira_spilled_reg_stack_slots in ira if using lra.


On 2014-09-03 5:26 AM, Kito Cheng wrote:
ping!


The patch saves some compilation time for LRA based targets. It is ok to commit.

Thanks, Kito.

On Wed, Aug 27, 2014 at 10:49 PM, Kito Cheng <kito.cheng@gmail.com> wrote:
Hi all:

This patch is clean up useless initialize for IRA with LRA.

2014-08-27  Kito Cheng  <kito@0xlab.org>

         * ira.c (ira): Don't initialize ira_spilled_reg_stack_slots and
         ira_spilled_reg_stack_slots_num if using lra.
         (do_reload): Remove release ira_spilled_reg_stack_slots part.
         * ira-color.c (ira_sort_regnos_for_alter_reg): Add assertion to
         make sure not using lra.
         (ira_reuse_stack_slot): Likewise.
         (ira_mark_new_stack_slot): Likewise.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]