/* Main entry point. Perform loop unswitching on all suitable LOOPS. */
-void
+unsigned int
tree_ssa_unswitch_loops (struct loops *loops)
{
int i, num;
}
if (changed)
- cleanup_tree_cfg_loop ();
+ return TODO_cleanup_cfg;
+ return 0;
}
/* Checks whether we can unswitch LOOP on condition at end of BB -- one of its
if (!nloop)
{
free_original_copy_tables ();
+ free (bbs);
return changed;
}
/* Invoke itself on modified loops. */
tree_unswitch_single_loop (loops, nloop, num + 1);
tree_unswitch_single_loop (loops, loop, num + 1);
+ free (bbs);
return true;
}