gcc/gcc ChangeLog expmed.c expr.h loop.c
rth@gcc.gnu.org
rth@gcc.gnu.org
Thu May 30 14:33:00 GMT 2002
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rth@gcc.gnu.org 2002-05-30 14:33:35
Modified files:
gcc : ChangeLog expmed.c expr.h loop.c
Log message:
* expmed.c (const_mult_add_overflow_p): New.
* expr.h: Declare it.
* loop.c (maybe_eliminate_biv_1) [COMPARE]: Use it.
Don't eliminate the biv if the giv has a constant multiplier and
the rhs argument of the comparison does satisfy the predicate.
Use expand_mult_add to compute the replacement constant.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.14343&r2=1.14344
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expmed.c.diff?cvsroot=gcc&r1=1.117&r2=1.118
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/expr.h.diff?cvsroot=gcc&r1=1.113&r2=1.114
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop.c.diff?cvsroot=gcc&r1=1.404&r2=1.405
More information about the Gcc-cvs
mailing list