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: [tree-ssa] Eliminate unnecessary gimplifications


Hi,

On 23 May 2003, Diego Novillo wrote:

> > Yea, my biggest concern with diving into the nodes in is_simple_stmt
> > would be that it could be rather expensive.
> >
> Well, yeah.  That one predicate was a bit heavy handed IIRC.

One could introduce an is_very_simple_stmt(), which would presumably be
cheap, and could be used to not gimplify (hopefully) most of the
statements.  More complex ones, for which is_simple_stmt() would be
costly simply would be gimplified, in the hope that the produced cruft
wouldn't matter.


Ciao,
Michael.


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