This is the mail archive of the
mailing list for the GCC project.
Re: Improving reload inheritance code generation and predictability
On 11/19/2010 05:18 PM, Jeff Law wrote:
> On 11/18/10 12:34, Bernd Schmidt wrote:
>> Ideally we'd allocate the valuable ones only to reloads which we know
>> we'll want to inherit in the future.
> True. But that means knowing the set of reloads for future insns.
We do know that - every chain has its own copy of the rld array.
I guess we could try to add a distance-to-next use array for hard regs
as well, to eliminate the quadratic forward scan at the expense of
higher memory use.