[Bug tree-optimization/18048] [4.0 Regression] mgrid loop performance regression with ivopts

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 27 20:27:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-27 20:27 -------
Subject: Bug 18048

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rakdver@gcc.gnu.org	2004-10-27 20:27:21

Modified files:
	gcc            : ChangeLog fold-const.c tree-ssa-loop-ivopts.c 
	                 tree-ssa-loop-niter.c tree.c tree.h 

Log message:
	PR tree-optimization/18048
	* fold-const.c (try_move_mult_to_index): New function.
	(fold): Use try_move_mult_to_index.
	* tree-ssa-loop-ivopts.c (try_add_cand_for): Prefer common candidates.
	* tree-ssa-loop-niter.c (number_of_iterations_cond): Produce
	an all-ones unsigned constant without extra bits.
	* tree.c (build_low_bits_mask): New function.
	* tree.h (build_low_bits_mask): Declare.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6052&r2=2.6053
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.468&r2=1.469
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-ivopts.c.diff?cvsroot=gcc&r1=2.20&r2=2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-niter.c.diff?cvsroot=gcc&r1=2.13&r2=2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.440&r2=1.441
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&r1=1.640&r2=1.641



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18048



More information about the Gcc-bugs mailing list