On Mar 24, 2005, at 7:31 PM, James E Wilson wrote:

On Thu, 2005-03-24 at 15:52, Steven Bosscher wrote:
I'd suggest trying -fmove-loop-invariants, and report a bug about
that instead if it does not move those loop invariants.  We really
should move away from loop.c anyway.

In general, yes, but we will probably always need some RTL loop optimizations. Lowering gimple to RTL may expose target dependent loop invariants that were not present in the gimple. Hence, we still need the RTL loop pass to work.

Jim you know that -fmove-loop-invariants enables the "new" RTL BB based loop optimizer? This option was added back in 3.4.0.

-- Pinski



Reply via email to