aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop-manip.c
diff options
context:
space:
mode:
authorSebastian Pop <pop@cri.ensmp.fr>2005-02-14 15:54:37 +0100
committerSebastian Pop <spop@gcc.gnu.org>2005-02-14 14:54:37 +0000
commit92d2b330de38224e6b6de699baa5ee3436c2dbb6 (patch)
treeb967749b4eb224822e41da16588df79f92eb3539 /gcc/tree-ssa-loop-manip.c
parent31c3e6315753afb33f7cd2b9027bfc6d80623a52 (diff)
downloadgcc-92d2b330de38224e6b6de699baa5ee3436c2dbb6.zip
gcc-92d2b330de38224e6b6de699baa5ee3436c2dbb6.tar.gz
gcc-92d2b330de38224e6b6de699baa5ee3436c2dbb6.tar.bz2
lambda-code.c (lambda_loopnest_to_gcc_loopnest, [...]): Use standard_iv_increment_position for computing the bsi position for create_iv.
* lambda-code.c (lambda_loopnest_to_gcc_loopnest, perfect_nestify): Use standard_iv_increment_position for computing the bsi position for create_iv. * tree-ssa-loop-manip.c (create_iv): Add a comment on how to compute the bsi position. From-SVN: r95013
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
-rw-r--r--gcc/tree-ssa-loop-manip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c
index fe9c43c..2fdfafa 100644
--- a/gcc/tree-ssa-loop-manip.c
+++ b/gcc/tree-ssa-loop-manip.c
@@ -41,7 +41,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
It is expected that neither BASE nor STEP are shared with other expressions
(unless the sharing rules allow this). Use VAR as a base var_decl for it
(if NULL, a new temporary will be created). The increment will occur at
- INCR_POS (after it if AFTER is true, before it otherwise). The ssa versions
+ INCR_POS (after it if AFTER is true, before it otherwise). INCR_POS and
+ AFTER can be computed using standard_iv_increment_position. The ssa versions
of the variable before and after increment will be stored in VAR_BEFORE and
VAR_AFTER (unless they are NULL). */