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: [match-and-simplify] add new lower function


On Thu, Oct 23, 2014 at 11:22 AM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> Instead of iterating each time for calling lowering function
> (lower_opt_convert, etc.),
> add new lower function and pass lower_opt_convert, lower_for etc. to
> it as callback.

I don't think this is more readable.

Thanks,
Richard.

> * genmatch.c (lower): New overloaded function.
>     (lower): Adjust to call overloaded lower.
>
> Thanks,
> Prathamesh


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