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, pretty-ipa merge 1/4] Function parameter manipulation infrastructer through param notes


2009/6/26 Jan Hubicka <hubicka@ucw.cz>:
>> >> +
>> >> + ?update_ssa (TODO_update_ssa);
>> >
>> > When do we need update of SSA? ?Isn't it enough to just move the VOPs?
>>
>> It should be enough. ?Make sure to copy them from the old call stmt
>> before inserting them to the insn stream (just use gimple_set_vdef,
>> gimple_set_vuse).
>
> Perhaps we need to care when redirecting non-pure/const into pure/const?

update_stmt will take care of it and remove the non-needed VOPs.  Btw,
I forgot that you of course need to adjust the SSA_NAME_DEF_STMT of
the VDEF you copy.

Richard.

> Honza
>>
>> Richard.
>>
>> > Honza
>> >
>


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