Commit 70e1d145 by Aldy Hernandez Committed by Aldy Hernandez

tree-ssa-loop-niter.c (number_of_iterations_exit): Update function comment to reflect reality.

	* tree-ssa-loop-niter.c (number_of_iterations_exit): Update
	function comment to reflect reality.
	(loop_exits_before_overflow): Fix typo in function description.

From-SVN: r245709
parent 830815b9
2017-02-24 Aldy Hernandez <aldyh@redhat.com>
* tree-ssa-loop-niter.c (number_of_iterations_exit): Update
function comment to reflect reality.
(loop_exits_before_overflow): Fix typo in function description.
2017-02-24 Richard Biener <rguenther@suse.de> 2017-02-24 Richard Biener <rguenther@suse.de>
PR tree-optimization/79389 PR tree-optimization/79389
......
...@@ -2345,8 +2345,8 @@ number_of_iterations_exit_assumptions (struct loop *loop, edge exit, ...@@ -2345,8 +2345,8 @@ number_of_iterations_exit_assumptions (struct loop *loop, edge exit,
return (!integer_zerop (niter->assumptions)); return (!integer_zerop (niter->assumptions));
} }
/* Like number_of_iterations_exit, but return TRUE only if the niter /* Like number_of_iterations_exit_assumptions, but return TRUE only if
information holds unconditionally. */ the niter information holds unconditionally. */
bool bool
number_of_iterations_exit (struct loop *loop, edge exit, number_of_iterations_exit (struct loop *loop, edge exit,
...@@ -4194,7 +4194,7 @@ nowrap_type_p (tree type) ...@@ -4194,7 +4194,7 @@ nowrap_type_p (tree type)
} }
/* Return true if we can prove LOOP is exited before evolution of induction /* Return true if we can prove LOOP is exited before evolution of induction
variabled {BASE, STEP} overflows with respect to its type bound. */ variable {BASE, STEP} overflows with respect to its type bound. */
static bool static bool
loop_exits_before_overflow (tree base, tree step, loop_exits_before_overflow (tree base, tree step,
......
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