aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-chrec.h
diff options
context:
space:
mode:
authorAndrew Pinski <andrew_pinski@playstation.sony.com>2007-05-21 23:08:54 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2007-05-21 16:08:54 -0700
commita50411de14fec4cf78acbe5dcc2ec0de7bb5e27f (patch)
tree4a5af0fdf3986135df36eb2ffebfc49af9eaab2a /gcc/tree-chrec.h
parent60c4429c7e517425d5e43c688b720516a5338648 (diff)
downloadgcc-a50411de14fec4cf78acbe5dcc2ec0de7bb5e27f.zip
gcc-a50411de14fec4cf78acbe5dcc2ec0de7bb5e27f.tar.gz
gcc-a50411de14fec4cf78acbe5dcc2ec0de7bb5e27f.tar.bz2
re PR tree-optimization/31995 (can't determine dependence between p->a[x+i] and p->a[x+i+1])
2007-05-21 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/31995 * tree-chrec.c (evolution_function_is_affine_multivariate_p): Add loopno argument. Use evolution_function_is_invariant_rec_p instead of evolution_function_is_constant_p. Update calls to evolution_function_is_affine_multivariate_p. * tree-chrec.h (evolution_function_is_affine_multivariate_p): Add loopno argument. * tree-scalar-evolution.c (gather_chrec_stats): Call evolution_function_is_affine_multivariate_p with a loop number of 0. * tree-data-ref.c (analyze_miv_subscript): Likewise. (analyze_overlapping_iterations): Likewise. (access_functions_are_affine_or_constant_p): Likewise. (build_classic_dist_vector_1): If the access functions are equal, don't do anything. 2007-05-21 Andrew Pinski <andrew_pinski@playstation.sony.com> PR middle-end/31995 * gcc.dg/vect/vect-102a.c: New test. From-SVN: r124927
Diffstat (limited to 'gcc/tree-chrec.h')
-rw-r--r--gcc/tree-chrec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-chrec.h b/gcc/tree-chrec.h
index 6be00d6..75ef41b 100644
--- a/gcc/tree-chrec.h
+++ b/gcc/tree-chrec.h
@@ -79,7 +79,7 @@ extern bool chrec_contains_symbols (tree);
extern bool chrec_contains_symbols_defined_in_loop (tree, unsigned);
extern bool chrec_contains_undetermined (tree);
extern bool tree_contains_chrecs (tree, int *);
-extern bool evolution_function_is_affine_multivariate_p (tree);
+extern bool evolution_function_is_affine_multivariate_p (tree, int);
extern bool evolution_function_is_univariate_p (tree);
extern unsigned nb_vars_in_chrec (tree);