diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-06-25 11:17:03 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-06-25 11:17:03 +0000 |
commit | b092fe39d0163b45c9ff4ac7754a544bb0892d68 (patch) | |
tree | 0d8f91be99c6c2c6ede434867849901e1065f162 /gcc | |
parent | 238a4dba309e8e2f37e1372a3fa56d295a43fa80 (diff) | |
download | gcc-b092fe39d0163b45c9ff4ac7754a544bb0892d68.zip gcc-b092fe39d0163b45c9ff4ac7754a544bb0892d68.tar.gz gcc-b092fe39d0163b45c9ff4ac7754a544bb0892d68.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-manip.c | 17 |
2 files changed, 13 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e37094..5e8c7f8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +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> PR target/29693 diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index 29f701c..a72b779 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -1319,15 +1319,14 @@ rewrite_all_phi_nodes_with_iv (loop_p loop, tree main_iv) free (bbs); } -/* Bases all the induction variables in LOOP on a single induction - variable (unsigned with base 0 and step 1), whose final value is - compared with *NIT. When the IV type precision has to be larger - than *NIT type precision, *NIT is converted to the larger type, the - conversion code is inserted before the loop, and *NIT is updated to - the new definition. When BUMP_IN_LATCH is true, the induction - variable is incremented in the loop latch, otherwise it is - incremented in the loop header. Return the induction variable that - was created. */ +/* Bases all the induction variables in LOOP on a single induction variable + (with base 0 and step 1), whose final value is compared with *NIT. When the + IV type precision has to be larger than *NIT type precision, *NIT is + converted to the larger type, the conversion code is inserted before the + loop, and *NIT is updated to the new definition. When BUMP_IN_LATCH is true, + the induction variable is incremented in the loop latch, otherwise it is + incremented in the loop header. Return the induction variable that was + created. */ tree canonicalize_loop_ivs (struct loop *loop, tree *nit, bool bump_in_latch) |