diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1996-10-21 10:58:18 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1996-10-21 10:58:18 -0700 |
commit | 085daa5a3bec704bfa4c08e1b3e6098f50de9d8d (patch) | |
tree | bc9490c70685503661829f988b45ac350b9c8fc7 | |
parent | 04bd02461fb394eef19bcfe5764b68b2619aa457 (diff) | |
download | gcc-085daa5a3bec704bfa4c08e1b3e6098f50de9d8d.zip gcc-085daa5a3bec704bfa4c08e1b3e6098f50de9d8d.tar.gz gcc-085daa5a3bec704bfa4c08e1b3e6098f50de9d8d.tar.bz2 |
(strength_reduce): Add check for ! bl->reversed to
auto_inc_opt code.
From-SVN: r12985
-rw-r--r-- | gcc/loop.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3910,8 +3910,10 @@ strength_reduce (scan_start, end, loop_top, insn_count, immediately after its use, so that flow can create an auto-increment addressing mode. */ if (v->giv_type == DEST_ADDR && bl->biv_count == 1 - && bl->biv->always_executed - && ! bl->biv->maybe_multiple + && bl->biv->always_executed && ! bl->biv->maybe_multiple + /* We don't handle reversed biv's because bl->biv->insn + does not have a valid INSN_LUID. */ + && ! bl->reversed && v->always_executed && ! v->maybe_multiple) { /* If other giv's have been combined with this one, then |