aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-12-07 19:22:33 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-12-07 19:22:33 -0800
commit60fb6df968b2ed5ee054874052371f08b59cb712 (patch)
tree9c8c66c576241096238da778fd7a4457cc1fb503 /gcc/loop.h
parent3043b30ec807350898618ba9ea7d7fe1787f866f (diff)
downloadgcc-60fb6df968b2ed5ee054874052371f08b59cb712.zip
gcc-60fb6df968b2ed5ee054874052371f08b59cb712.tar.gz
gcc-60fb6df968b2ed5ee054874052371f08b59cb712.tar.bz2
loop.h (struct induction): Add multi_insn_incr.
* loop.h (struct induction): Add multi_insn_incr. * loop.c (basic_induction_var): New multi_insn_incr argument. Set it if we search back through previous insns for the biv. (record_biv): New multi_insn_incr argument; fill in struct induction. (strength_reduce): Discard an iv with multiple bivs, any of which require multiple insns to increment. From-SVN: r30820
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index 2578956..1473581 100644
--- a/gcc/loop.h
+++ b/gcc/loop.h
@@ -101,6 +101,7 @@ struct induction
initialized in unrolled loop. */
unsigned shared : 1;
unsigned no_const_addval : 1; /* 1 if add_val does not contain a const. */
+ unsigned multi_insn_incr : 1; /* 1 if multiple insns updated the biv. */
int lifetime; /* Length of life of this giv */
rtx derive_adjustment; /* If nonzero, is an adjustment to be
subtracted from add_val when this giv