This is the mail archive of the gcc@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: Loop optimizer issues


Hello,

> Steven> Well, surely some loop optimizers will still be necessary on RTL even with
> Steven> tree-ssa, don't you think?
> 
> 	Please read the full context of the thread:
> 
> "but surely the code motion I'm concerned with will at least partially be
> done on tree-ssa (as loop invariant motion or pre or perhaps both)."
> 
> "... ust do these high-level motions on ast-level when they are not
> represented in this ugly way (and either do only simpler pass on rtl, or
> don't do it there at all, depending on what will turn to be more
> practical)."
> 
> 	Yes, RTL will have a simple loop optimizer, but not the
> optimizations for which Zdenek wants to assume the absence of LIBCALLs.

this is what I am not quite sure.  Loop invariant motion is quite
dependent on some knowledge about register pressure, so it is not
unimaginable to me that it would mostly stay on rtl level (although
due to compile-time performance reasons it should be avoided).

Zdenek


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