[PATCH, pretty-ipa merge 1/4] Function parameter manipulation infrastructer through param notes
Richard Guenther
richard.guenther@gmail.com
Fri Jun 26 18:46:00 GMT 2009
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
>> >
>
More information about the Gcc-patches
mailing list