Date: Tue, 10 Jul 2007 09:41:49 GMT From: Xin LI <delphij@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 123261 for review Message-ID: <200707100941.l6A9fnTl040443@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123261 Change 123261 by delphij@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707100941.l6A9fnTl040443>