[lra] patch from Richard Sandiford's review of lra-assigns.c

2012-10-11 Thread Vladimir Makarov
The following patch implements most Richard's proposals for LRA lra-spills.c and lra-coalesce.c files. The patch was successfully bootstrapped on x86/x86-64. Committed as rev. 192389. 2012-10-11 Vladimir Makarov * target.def (register_priority): Change value interpretation. *

Re: RFC: LRA for x86/x86-64 [7/9] -- continuation

2012-10-11 Thread Vladimir Makarov
On 10/04/2012 11:50 AM, Richard Sandiford wrote: Hi Vlad, This message is for lra-assigns.c. Sorry for the piecemeal reviews, never sure when I'll get time... +/* This file contains a pass mostly assigning hard registers to reload + pseudos. There is no any RTL code transformation on this

Re: [lra] patch to fix GCC crash on a SPEC2006 test

2012-10-11 Thread Vladimir Makarov
On 12-10-11 12:56 PM, Peter Bergner wrote: On Thu, 2012-10-11 at 11:35 -0400, Vladimir Makarov wrote: + /* Call insn might have not references for pseudos besides +in CALL_INSN_FUNCTION_USAGE but we don't count them in +insn_bitmap of corresponding lra_reg_info as

Re: [patch][IRA] Really record loop exits

2012-10-11 Thread Vladimir Makarov
On 12-10-11 4:17 PM, Steven Bosscher wrote: Hello, IRA uses record_loop_exits() to cache the loop exit edges, but due to a code ordering bug the edges are not actually recorded. record_loop_exits() starts with: if (!current_loops) return; I have no idea why record_loop_exits is here. L

<    1   2