aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1998-04-25 16:09:24 +0000
committerJohn Carr <jfc@gcc.gnu.org>1998-04-25 16:09:24 +0000
commitde12be17436e7a02a24b9e99da71fb6bfa9a8075 (patch)
treed658c3788fb182034177eeb4f3e6c84128bbcd2d /gcc/loop.c
parentfb2c5c00b8f4917f22e3d1ccd3575a2d12aa9360 (diff)
downloadgcc-de12be17436e7a02a24b9e99da71fb6bfa9a8075.zip
gcc-de12be17436e7a02a24b9e99da71fb6bfa9a8075.tar.gz
gcc-de12be17436e7a02a24b9e99da71fb6bfa9a8075.tar.bz2
alias.c (alias_invariant): New variable.
* alias.c (alias_invariant): New variable. (record_base_value): New argument INVARIANT. (memrefs_conflict_p): If a register has an entry in the alias_invariant array, try substituting that value for the register. * rtl.h: Declare record_base_value. * loop.c, unroll.c: Update callers of record_base_value. * alias.c (find_base_value, find_base_term): SIGN_EXTEND and ZERO_EXTEND do not affect base values. From-SVN: r19408
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index bcc7d2c..6b66484 100644
--- a/gcc/loop.c
+++ b/gcc/loop.c
@@ -5986,7 +5986,7 @@ emit_iv_add_mult (b, m, a, reg, insert_before)
emit_insn_before (seq, insert_before);
- record_base_value (REGNO (reg), b);
+ record_base_value (REGNO (reg), b, 0);
}
/* Test whether A * B can be computed without