This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, ivopts] Handle type-converted IVs better


On Thu, 21 Sep 2006, Zdenek Dvorak wrote:
> > 	* tree-ssa-loop-ivopts.c (aff_combination_convert,
> > 	determine_common_wider_type): New functions.
> > 	(get_computation_aff): Use them to simplify arithmetic between
> > 	UBASE and CBASE if they are shortened from the same type.
> >
> >
> > 	* gcc.dg/tree-ssa/ivopts-1.c: New test.

Given that Zdenek is happy with it, this is OK for 4.3 (once we branch).
No where in the thread has it been mentioned that this is a regression
fix, so it isn't really suitable for mainline whilst we're in stage 3.
It's a nice iv-opts improvement, though.

Thanks to you both,

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]