new register allocator and HARD_REGNO_CALL_PART_CLOBBERED

Michael Matz matz@suse.de
Tue May 13 20:32:00 GMT 2003


Hi,

On Tue, 13 May 2003, Daniel Berlin wrote:

> So I proposed that it's wrong to make the new-register-allocator try to
> figure this out in get_free_reg, and that we shouldn't be handed
> classes (which we convert into usable_regs) that contain invalid
> registers.

Yep, get_free_reg would be wrong ...

> Alternatively, since i know this won't ever happen until web_class is
> the default, I sent a patch to prune the hard regs of usable_regs using
> the web's call crossing information.

... and limiting usable_regs is right.


Ciao,
Michael.



More information about the Gcc mailing list