aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-06-09 22:09:28 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-06-09 22:09:28 +0000
commit072edf0751a79b7e49d2d5834cf2e097ce51ed19 (patch)
treed84c1a8d9648f7dcd505bd39e0953b1994054393 /gcc/tree-chrec.c
parent642d55de0e40c7bf59ab0043aeae756f004488dc (diff)
downloadgcc-072edf0751a79b7e49d2d5834cf2e097ce51ed19.zip
gcc-072edf0751a79b7e49d2d5834cf2e097ce51ed19.tar.gz
gcc-072edf0751a79b7e49d2d5834cf2e097ce51ed19.tar.bz2
Fix comments and indentation.
2010-06-09 Sebastian Pop <sebastian.pop@amd.com> * graphite-poly.h: Fix comments and indentation. * graphite-sese-to-poly.c: Same. (build_sese_conditions_before): Compute stmt and gbb only when needed. * tree-chrec.c: Fix comments and indentation. (tree-ssa-loop-niter.c): Same. From-SVN: r160508
Diffstat (limited to 'gcc/tree-chrec.c')
-rw-r--r--gcc/tree-chrec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/tree-chrec.c b/gcc/tree-chrec.c
index 24e1944..2d15285 100644
--- a/gcc/tree-chrec.c
+++ b/gcc/tree-chrec.c
@@ -1230,13 +1230,15 @@ convert_affine_scev (struct loop *loop, tree type,
}
-/* Convert CHREC for the right hand side of a CREC.
+/* Convert CHREC for the right hand side of a CHREC.
The increment for a pointer type is always sizetype. */
+
tree
chrec_convert_rhs (tree type, tree chrec, gimple at_stmt)
{
if (POINTER_TYPE_P (type))
- type = sizetype;
+ type = sizetype;
+
return chrec_convert (type, chrec, at_stmt);
}