* [patch, commited] Update simple latches in fix_loop_structure
@ 2007-07-25 23:15 Zdenek Dvorak
0 siblings, 0 replies; only message in thread
From: Zdenek Dvorak @ 2007-07-25 23:15 UTC (permalink / raw)
To: gcc-patches
Hello,
this patch makes us ensure that loop latches have just one successor
after cfg cleanup is run, if maintaining this invariant is requested.
Bootstrapped & regtested on i686, commited.
Zdenek
* cfgloopmanip.c (fix_loop_structure): Call force_single_succ_latches.
Index: cfgloopmanip.c
===================================================================
*** cfgloopmanip.c (revision 126869)
--- cfgloopmanip.c (working copy)
*************** fix_loop_structure (bitmap changed_bbs)
*** 1468,1473 ****
--- 1467,1475 ----
if (current_loops->state & LOOPS_HAVE_PREHEADERS)
create_preheaders (CP_SIMPLE_PREHEADERS);
+ if (current_loops->state & LOOPS_HAVE_SIMPLE_LATCHES)
+ force_single_succ_latches ();
+
if (current_loops->state & LOOPS_HAVE_MARKED_IRREDUCIBLE_REGIONS)
mark_irreducible_loops ();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-25 23:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-25 23:15 [patch, commited] Update simple latches in fix_loop_structure Zdenek Dvorak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).