On 12 May 2023 14:45:14 CEST, Martin Jambor <mjam...@suse.cz> wrote:

>gcc/ChangeLog:
>
>2023-05-11  Martin Jambor  <mjam...@suse.cz>
>
>       PR ipa/108007
>       * cgraph.h (cgraph_edge): Add a parameter to
>       redirect_call_stmt_to_callee.
>       * ipa-param-manipulation.h (ipa_param_adjustments): Added a
>       parameter to modify_call.
>       * cgraph.cc (cgraph_edge::redirect_call_stmt_to_callee): New
>       parameter killed_ssas, pass it to padjs->modify_call.
>       * ipa-param-manipulation.cc (purge_transitive_uses): New function.
>       (ipa_param_adjustments::modify_call): New parameter killed_ssas.
>       Instead of substitutin uses, invoke purge_transitive_uses.  If
>       hash of killed SSAs has not been provided, create a temporary one
>       and release SSAs that have been added to it.
>       * tree-inline.cc (redirect_all_calls): Create
>       id->killed_new_ssa_names earlier, pass it to edge redirection,
>       adjust a comment.
>       (copy_body): Release SSAs in id->killed_new_ssa_names.

Nit: Please use present tense in the ChangeLog.
s/Added/Add/
And there is a trailing 'g' missing in substitutin
thanks,

Reply via email to