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: Loop to builtin call pass (builtinizer)


Hello,

> > Hi Dorit,
> >
> >  I agree that a lot of analyzes in vectorizer and builtinizer are same
> > or very similar. So, I can try to merge it to vectorizer. I have first
> > few questions about it:

I would somewhat prefer not to merge the passes.  After all, what they
do is substantially different, and it does not make much sense to me to
complicate vectorizer unnecessarily.  Of course, if there is some amount
of same/similar code, share the appropriate functions.

The reason for merging vectorizer and builtinizer would be if there were
some interaction between them, i.e., if doing them at the same time
would enable us to optimize the code we cannot optimize now.  Is that
the case?  I do not think so -- it seems to me that running builtinizer
before vectorizer catches exactly the same amount of optimization
opportunities.

Zdenek


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