diff options
author | Richard Henderson <rth@redhat.com> | 2002-07-21 17:26:03 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-07-21 17:26:03 -0700 |
commit | 5e1afb115ee0038eb3474176d8c56c2460a4274e (patch) | |
tree | 2ff7eb08105c0df70c8ebbd19873fcb13b68513d /gcc/loop.c | |
parent | c67a1cf6a842249a064d479b455321e6663e4708 (diff) | |
download | gcc-5e1afb115ee0038eb3474176d8c56c2460a4274e.zip gcc-5e1afb115ee0038eb3474176d8c56c2460a4274e.tar.gz gcc-5e1afb115ee0038eb3474176d8c56c2460a4274e.tar.bz2 |
loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
* loop.h (LOOP_AUTO_UNROLL): Rename from LOOP_FIRST_PASS.
* loop.c (strength_reduce): Update.
* toplev.c (rest_of_compilation): Do unrolling in the first
loop pass, not the second.
From-SVN: r55634
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5320,7 +5320,7 @@ strength_reduce (loop, flags) collected. Always unroll loops that would be as small or smaller unrolled than when rolled. */ if ((flags & LOOP_UNROLL) - || (!(flags & LOOP_FIRST_PASS) + || ((flags & LOOP_AUTO_UNROLL) && loop_info->n_iterations > 0 && unrolled_insn_copies <= insn_count)) unroll_loop (loop, insn_count, 1); |