--- Comment #15 from steven at gcc dot gnu dot org 2009-02-13 10:03 ---
Re. Comment #14
No, this is not crazy. It is called postreload-gcse. But it is a stupid pass
that doesn't handle all cases it ought to handle.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38134
--- Comment #14 from bonzini at gnu dot org 2009-02-13 09:57 ---
It seems to me that it would help to have a postreload LIM pass that would
concentrate on loop-invariant memory accesses that are as cheap or cheaper than
loading back a spill. These would be excluded from the current (non