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]

Re: Post reload hoisting



  In message <13932.31089.811744.388508@ongaonga.elec.canterbury.ac.nz>you writ
e:
  > 
  > Is anyone working on an optimisation pass that will hoist invariant
  > insns out of loops?  If not, could this feature be easily added to the 
  > scheduler?
  > 
  > This pass would help mop up some loop invariant insns generated by
  > relaod and also would help with nested loops.
The scheduler is the wrong place to do this.

The right way is to use lazy code motion algorithms to rearrange spill code
immediately after reload has completed.

jeff


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