aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorJan Sjodin <jan.sjodin@amd.com>2008-05-09 16:17:47 +0000
committerSebastian Pop <spop@gcc.gnu.org>2008-05-09 16:17:47 +0000
commit3f227a8c1cdcb43cb39acc748b8e1e7a3ad0b628 (patch)
treeb769fe842aeb1e7594a9c1c3bfaaf9512a24bd92 /gcc/tree-data-ref.c
parenta3e19be6b06e8ca103708f035ea4ee1bc154cbe1 (diff)
downloadgcc-3f227a8c1cdcb43cb39acc748b8e1e7a3ad0b628.zip
gcc-3f227a8c1cdcb43cb39acc748b8e1e7a3ad0b628.tar.gz
gcc-3f227a8c1cdcb43cb39acc748b8e1e7a3ad0b628.tar.bz2
tree-scalar-evolution.c: Document instantiate_scev.
2008-05-09 Jan Sjodin <jan.sjodin@amd.com> Sebastian Pop <sebastian.pop@amd.com> * tree-scalar-evolution.c: Document instantiate_scev. (instantiate_parameters_1): Renamed instantiate_scev_1. Don't use the same loop for instantiation_loop and evolution_loop. (instantiate_scev): New. (instantiate_parameters): Moved... (resolve_mixers): Update call to instantiate_scev_1 to pass the same loop twice. Maintains the semantics for this function. * tree-scalar-evolution.h (instantiate_scev): Declare. (instantiate_parameters): ...here. Now static inline. * tree-data-ref.c (dr_analyze_indices): Call instantiate_scev instead of resolve_mixers. Co-Authored-By: Sebastian Pop <sebastian.pop@amd.com> From-SVN: r135116
Diffstat (limited to 'gcc/tree-data-ref.c')
-rw-r--r--gcc/tree-data-ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-data-ref.c b/gcc/tree-data-ref.c
index 7bca5ed..90ce7e9 100644
--- a/gcc/tree-data-ref.c
+++ b/gcc/tree-data-ref.c
@@ -741,7 +741,7 @@ dr_analyze_indices (struct data_reference *dr, struct loop *nest)
{
op = TREE_OPERAND (aref, 1);
access_fn = analyze_scalar_evolution (loop, op);
- access_fn = resolve_mixers (nest, access_fn);
+ access_fn = instantiate_scev (nest, loop, access_fn);
VEC_safe_push (tree, heap, access_fns, access_fn);
TREE_OPERAND (aref, 1) = build_int_cst (TREE_TYPE (op), 0);