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: [GSoC][match-and-simplify] get rid of multiple def_stmt


On Tue, Jun 24, 2014 at 6:49 PM, Prathamesh Kulkarni
<bilbotheelffriend@gmail.com> wrote:
> This patch avoids multiple definitions of def_stmt in different
> blocks, and moves it at
> the beginning of gimple_match_and_simplify.
>
> * genmatch.c (decision_tree::gen_gimple): Call fprintf to generate
> definition of def_stmt.
>    (dt_operand::gen_gimple_expr): Adjust call to fprintf to generate
> assignment of def_stmt.

Actually I see no issue with multiple declarations of def_stmt shadowing
each other.  So I think this makes the code harder to follow.

Richard.

> Thanks and Regards,
> Prathamesh


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