Commit b092fe39 by Tom de Vries Committed by Tom de Vries

Remove 'unsigned' in header comment canonicalize_loop_ivs

2015-06-25  Tom de Vries  <tom@codesourcery.com>

	* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Don't claim in header
	comment that the generated IV is unsigned.

From-SVN: r224936
parent 238a4dba
2015-06-25 Tom de Vries <tom@codesourcery.com>
* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Don't claim in header
comment that the generated IV is unsigned.
2015-06-25 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> 2015-06-25 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/29693 PR target/29693
......
...@@ -1319,15 +1319,14 @@ rewrite_all_phi_nodes_with_iv (loop_p loop, tree main_iv) ...@@ -1319,15 +1319,14 @@ rewrite_all_phi_nodes_with_iv (loop_p loop, tree main_iv)
free (bbs); free (bbs);
} }
/* Bases all the induction variables in LOOP on a single induction /* Bases all the induction variables in LOOP on a single induction variable
variable (unsigned with base 0 and step 1), whose final value is (with base 0 and step 1), whose final value is compared with *NIT. When the
compared with *NIT. When the IV type precision has to be larger IV type precision has to be larger than *NIT type precision, *NIT is
than *NIT type precision, *NIT is converted to the larger type, the converted to the larger type, the conversion code is inserted before the
conversion code is inserted before the loop, and *NIT is updated to loop, and *NIT is updated to the new definition. When BUMP_IN_LATCH is true,
the new definition. When BUMP_IN_LATCH is true, the induction the induction variable is incremented in the loop latch, otherwise it is
variable is incremented in the loop latch, otherwise it is incremented in the loop header. Return the induction variable that was
incremented in the loop header. Return the induction variable that created. */
was created. */
tree tree
canonicalize_loop_ivs (struct loop *loop, tree *nit, bool bump_in_latch) canonicalize_loop_ivs (struct loop *loop, tree *nit, bool bump_in_latch)
......
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