tree-scalar-evolution.c: Document instantiate_scev.
authorJan Sjodin <jan.sjodin@amd.com>
Fri, 9 May 2008 16:17:47 +0000 (16:17 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Fri, 9 May 2008 16:17:47 +0000 (16:17 +0000)
commit3f227a8c1cdcb43cb39acc748b8e1e7a3ad0b628
treeb769fe842aeb1e7594a9c1c3bfaaf9512a24bd92
parenta3e19be6b06e8ca103708f035ea4ee1bc154cbe1
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
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/data-dep-1.c [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-scalar-evolution.c
gcc/tree-scalar-evolution.h