diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-24 07:46:32 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-24 07:46:32 -0500 |
commit | 453331a3444fa55f687e8321630b8ae4858adf7d (patch) | |
tree | 147fb26436754853f4c1a5a5d1de27bdc0d5859d /gcc/loop.c | |
parent | f67ff5de60fced297f9e770a5be85ecbb96b6551 (diff) | |
download | gcc-453331a3444fa55f687e8321630b8ae4858adf7d.zip gcc-453331a3444fa55f687e8321630b8ae4858adf7d.tar.gz gcc-453331a3444fa55f687e8321630b8ae4858adf7d.tar.bz2 |
(maybe_eliminate_biv_1): Ignore GIV if it isn't always computed.
From-SVN: r6616
Diffstat (limited to 'gcc/loop.c')
-rw-r--r-- | gcc/loop.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5971,7 +5971,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where) for (v = bl->giv; v; v = v->next_iv) if (CONSTANT_P (v->mult_val) && v->mult_val != const0_rtx && v->add_val == const0_rtx - && ! v->ignore && ! v->maybe_dead + && ! v->ignore && ! v->maybe_dead && v->always_computable && v->mode == mode) { if (! eliminate_p) @@ -5996,7 +5996,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where) for (v = bl->giv; v; v = v->next_iv) if (CONSTANT_P (v->mult_val) && v->mult_val != const0_rtx - && ! v->ignore && ! v->maybe_dead + && ! v->ignore && ! v->maybe_dead && v->always_computable && v->mode == mode) { if (! eliminate_p) @@ -6053,7 +6053,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where) for (v = bl->giv; v; v = v->next_iv) if (CONSTANT_P (v->mult_val) && INTVAL (v->mult_val) > 0 && CONSTANT_P (v->add_val) - && ! v->ignore && ! v->maybe_dead + && ! v->ignore && ! v->maybe_dead && v->always_computable && v->mode == mode) { if (! eliminate_p) @@ -6089,7 +6089,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where) for (v = bl->giv; v; v = v->next_iv) if (CONSTANT_P (v->mult_val) && INTVAL (v->mult_val) > 0 - && ! v->ignore && ! v->maybe_dead + && ! v->ignore && ! v->maybe_dead && v->always_computable && v->mode == mode) { rtx tem; @@ -6120,7 +6120,7 @@ maybe_eliminate_biv_1 (x, insn, bl, eliminate_p, where) for (v = bl->giv; v; v = v->next_iv) if (CONSTANT_P (v->mult_val) && INTVAL (v->mult_val) > 0 - && ! v->ignore && ! v->maybe_dead + && ! v->ignore && ! v->maybe_dead && v->always_computable && v->mode == mode) { rtx tem; |