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

Vladimir Makarov vmakarov@redhat.com
Wed Sep 3 15:19:00 GMT 2014


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.



More information about the Gcc-patches mailing list