This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH, pretty-ipa merge 1/4] Function parameter manipulation infrastructer through param notes
2009/6/26 Jan Hubicka <firstname.lastname@example.org>:
>> >> +
>> >> + ?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,
> 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.
>> > Honza