Register Allocator query.
Zack Weinberg
zack@codesourcery.com
Sun Nov 24 14:55:00 GMT 2002
Leon Taylor <leon_taylor_007@yahoo.co.in> writes:
> As I understood, the purpose of creating stack pseudos rather than
> hard stack slots is that they might get a color during subsequent
> pass (thus not needing a stack slot). They should be hard slots only
> in non-optimizing compile. Or perhaps based on heuristics. What
> heuristics are chosen ?
Also, we want to be able to optimize the layout of the stack frame.
Avoiding assigning hard slots until after register allocation makes
this possible.
zw
More information about the Gcc
mailing list