Loop optimizer issues

Jason Merrill jason@redhat.com
Tue Jun 3 16:13:00 GMT 2003


On Tue, 3 Jun 2003 10:47:26 +0200, Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> wrote:

>> The fold function can be used for simplifying these expressions.
>> 
>> However as Zack has pointed out in his paper there are 4 fold functions: 
>> 3 at rtl level, and one fold at tree level.  
>
> and one more of mine that I have added due to iv analysis :-( I
> just cannot cope with other rtl simplifiers that hapily "simplify"
> 2*3*4*x to (((x << 2) * 3) << 1).

Yep, I have similar issues with the tree folder.

Jason



More information about the Gcc mailing list