This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Register Allocator query.
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Leon Taylor <leon_taylor_007 at yahoo dot co dot in>
- Cc: Denis Chertykov <denisc at overta dot ru>, Michael Matz <matz at suse dot de>, gcc at gcc dot gnu dot org
- Date: Sun, 24 Nov 2002 02:47:23 -0800
- Subject: Re: Register Allocator query.
- References: <20021124080524.65799.qmail@web8206.mail.in.yahoo.com>
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