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] Fix PR34263: Cleaning up latch blocks


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


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