summaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-08 03:22:33 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-08 03:22:33 +0000
commit631c65b32a2d855458f31948bcb9165b285785f8 (patch)
tree9c8c66c576241096238da778fd7a4457cc1fb503 /gcc/loop.h
parenta1fccfde31efb53ea995cb6cc1692e156112c37d (diff)
downloadgcc-631c65b32a2d855458f31948bcb9165b285785f8.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30820 138bc75d-0d04-0410-961f-82ee72b054a4
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 2578956bd95..14735810fd5 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