summaryrefslogtreecommitdiff
path: root/gcc/loop.h
diff options
context:
space:
mode:
authoramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-20 00:31:15 +0000
committeramodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-20 00:31:15 +0000
commit4db1469f863b2b9d82eff8d112a9471a4c94b079 (patch)
tree94eedd6796f702b3e750b75344a9180da4a76c79 /gcc/loop.h
parenta7ae1e597777179c8b1545a3b56518781f1de909 (diff)
downloadgcc-4db1469f863b2b9d82eff8d112a9471a4c94b079.tar.gz
PR optimization/7130
* loop.h (struct loop_info): Add "preconditioned". * unroll.c (unroll_loop): Set it. * doloop.c (doloop_modify_runtime): Correct count for unrolled loops. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop.h')
-rw-r--r--gcc/loop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/loop.h b/gcc/loop.h
index 4f4dc4160c1..631352fee6d 100644
--- a/gcc/loop.h
+++ b/gcc/loop.h
@@ -316,6 +316,9 @@ struct loop_info
int has_multiple_exit_targets;
/* Nonzero if there is an indirect jump in the current function. */
int has_indirect_jump;
+ /* Whether loop unrolling has emitted copies of the loop body so
+ that the main loop needs no exit tests. */
+ int preconditioned;
/* Register or constant initial loop value. */
rtx initial_value;
/* Register or constant value used for comparison test. */