[PATCH] Fix PR34263: Cleaning up latch blocks

Andrew MacLeod amacleod@redhat.com
Fri Dec 14 14:19:00 GMT 2007


Revital1 Eres wrote:
>
>> Should there be some kind of limit to the number of copies being
>> inserted? Ie, if there are 10 copies being inserted on the edge, I would
>> think 10 extra copies in the loop would tend to start adding up and
>> offset whatever gain you might get.
>>     
>
> That sounds reasonable, I can add a default number to consider only small
> latches. (and maybe add a new --param option to tune it?)
>
>   
I dont know if we need another --param or not, I'd be just as content to 
start with a small guess. I would think most of the cases you see that 
matter have 1 or 2 stmts?

Andrew



More information about the Gcc-patches mailing list