tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental commit.

* tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental
	commit.

From-SVN: r236847
This commit is contained in:
Jan Hubicka 2016-05-28 15:22:49 +02:00 committed by Jan Hubicka
parent 350216e367
commit 018b22f331
2 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2016-05-27 Jan Hubicka <hubicka@ucw.cz>
* tree-ssa-loop-niter.c (number_of_iterations_exit): Revert accidental
commit.
2016-05-28 Alan Modra <amodra@gmail.com>
* dominance.c (verify_dominators): Don't segfault on NULL imm_bb.

View File

@ -2289,11 +2289,7 @@ number_of_iterations_exit (struct loop *loop, edge exit,
/* If NITER has simplified into a constant, update MAX. */
if (TREE_CODE (niter->niter) == INTEGER_CST)
{
niter->max = wi::to_widest (niter->niter);
record_niter_bound (loop, niter->max, loop_only_exit_p (loop, exit),
true);
}
niter->max = wi::to_widest (niter->niter);
if (integer_onep (niter->assumptions))
return true;