This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Post reload hoisting
- To: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Subject: Re: Post reload hoisting
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Mon, 07 Dec 1998 21:16:13 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
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