This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: patch for register migration
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: dberlin at dberlin dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 20 Apr 04 21:26:45 EDT
- Subject: Re: RFA: patch for register migration
Reload is effectively spill code generation for us.
This is changing a decision on *what to spill*, not *how to spill it*.
Thus, it belongs in the register allocator, not reload.
Except that reload currently decides which hard registers to allocate as
spill registers, so it's involved in that decision already.