This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug rtl-optimization/20969] unrolling does not take target register pressure into account.
On Apr 12, 2005, at 12:14 PM, amylaar at gcc dot gnu dot org wrote:
------- Additional Comments From amylaar at gcc dot gnu dot org
2005-04-12 16:14 -------
(In reply to comment #3)
Huh? no optimization should take register pressure into account.
What we
should have is a reroller in
the register allocator.
Do you have a set of patches to try out?
No but if we go your route, then every place where we do an
optimization, we
will then need to teach it about register pressure which is wrong. Only
the register allocator should know.
-- Pinski