From 4db1469f863b2b9d82eff8d112a9471a4c94b079 Mon Sep 17 00:00:00 2001 From: amodra Date: Sat, 20 Jul 2002 00:31:15 +0000 Subject: 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 --- gcc/loop.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/loop.h') 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. */ -- cgit v1.2.1