diff options
author | Richard Henderson <rth@cygnus.com> | 1999-12-07 19:22:33 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 1999-12-07 19:22:33 -0800 |
commit | 60fb6df968b2ed5ee054874052371f08b59cb712 (patch) | |
tree | 9c8c66c576241096238da778fd7a4457cc1fb503 /gcc/loop.h | |
parent | 3043b30ec807350898618ba9ea7d7fe1787f866f (diff) | |
download | gcc-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |