Commit 018b22f3 by Jan Hubicka Committed by Jan Hubicka

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
parent 350216e3
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> 2016-05-28 Alan Modra <amodra@gmail.com>
* dominance.c (verify_dominators): Don't segfault on NULL imm_bb. * dominance.c (verify_dominators): Don't segfault on NULL imm_bb.
......
...@@ -2289,11 +2289,7 @@ number_of_iterations_exit (struct loop *loop, edge exit, ...@@ -2289,11 +2289,7 @@ number_of_iterations_exit (struct loop *loop, edge exit,
/* If NITER has simplified into a constant, update MAX. */ /* If NITER has simplified into a constant, update MAX. */
if (TREE_CODE (niter->niter) == INTEGER_CST) if (TREE_CODE (niter->niter) == INTEGER_CST)
{ niter->max = wi::to_widest (niter->niter);
niter->max = wi::to_widest (niter->niter);
record_niter_bound (loop, niter->max, loop_only_exit_p (loop, exit),
true);
}
if (integer_onep (niter->assumptions)) if (integer_onep (niter->assumptions))
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment