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]

[lra] some cleaning up to speed up LRA


The following patch removes a code used for some experiments in pseudo live range splitting during the assignment sub-pass and, as consequence, speeds LRA up.

The patch was successfully bootstrapped on x86-64.

2011-06-23 Vladimir Makarov <vmakarov@redhat.com>

* lra-int.h (struct lra_bb_info, lra_bb_info): Remove.

        * lra.c (lra_bb_info, init_bb_info, finish_bb_info): Remove.
        (lra): Remove calls of init_bb_info and finish_bb_info.

        * lra-lives.c (live_regs): Remove.
        (make_hard_regno_born, make_pseudo_live, make_pseudo_dead): Don't
        update live_regs.
        (process_bb_lives): Ditto.  Don't set up lra_bb_info.
        (lra_create_live_ranges): Don't initialize/finalize live_regs.

Attachment: june23.patch
Description: Text document


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