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] a patch to fix a live-range splitting problem in EBB


On some targets in rare cases, LRA can put a live-range splitting insn right after a jump insn setting up the split pseudo. The following patch fixes the problem by putting such insn at the beginning of next BB.

The patch was successfully bootstrapped on x86/x86-64.

Committed as rev. 184942.

2012-03-05 Vladimir Makarov <vmakarov@redhat.com>

        * lra-constraints.c (simplify_operand_subreg): Treat out subreg
        operand which is a part of the pseudo as in/out one.
        (get_live_on_other_edges): Move lower and add non-input operands
        of jump to the bitmap.

Attachment: fix-ebb-splits.patch
Description: Text document


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