This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ping Zdenek's patch for 17428


On Sun, 13 Feb 2005, Zdenek Dvorak wrote:
> I believe that most of the time no hard register at all should be live
> at the point where the insertion happens.  This is the reason why I did
> not want to make things more complicated than necessary.  Simply
> disabling the optimization in case any hard reg is live at the point
> would IMHO work as well.

That certainly simplifies things.  Could you collect some statistics
on what fraction of the calls to safe_insert_insn_on_edge have a live
non-fixed hard regsiter, and if so how many?  If, as you suggest, the
majority of the time there are no live registers, and when there are
we only spill one or two, then the patch may be fine as it is.

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]