PERFORCE change 123261 for review
Xin LI
delphij at FreeBSD.org
Tue Jul 10 09:41:50 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123261
Change 123261 by delphij at delphij_odin on 2007/07/10 09:40:59
Actually commit the previous change. I have committed from wrong tree :-(
Affected files ...
.. //depot/projects/delphij_fork/contrib/gcc/tree-ssa-loop-niter.c#3 edit
Differences ...
==== //depot/projects/delphij_fork/contrib/gcc/tree-ssa-loop-niter.c#3 (text+ko) ====
@@ -1747,6 +1747,12 @@
{
bb = bbs[i];
+ /* If BB is not executed in each iteration of the loop, we cannot
+ use the operations in it to infer reliable upper bound on the
+ # of iterations of the loop. */
+ if (!dominated_by_p (CDI_DOMINATORS, loop->latch, bb))
+ continue;
+
for (bsi = bsi_start (bb); !bsi_end_p (bsi); bsi_next (&bsi))
{
tree stmt = bsi_stmt (bsi);
More information about the p4-projects
mailing list