On 03/31/2011 04:16 PM, Henderson, Stuart wrote:

> The attached patch attempts to move loop invariants out of loops for Blackfin.
> 
> 
> 2011-03-31  Stuart Henderson  <stuart.hender...@analog.com>
> 
>    From Bernd Schmidt
>    * config/bfin/bfin.c (bfin_gen_bundles): Don't try to bundle a jump.
>    (bfin_optimize_loops_1, move_loop_constants): New static functions.
>    (bfin_reorg): Call bfin_optimize_loops_1 if optimizing.

I kind of want to do this kind of thing as part of postreload,
especially since I recently discovered that we have a cprop pass after
loop_invariant that tends to undo all the loop invariant motion.


Bernd

Reply via email to