Hi,

I am trying to generate out-of-line clones of ipcp clones for an IPA pass that 
runs after IPA inline, where the new clone has same function body and same 
updated signature as the ipcp clone. This fails or asserts based on how the 
clone is created:

1. If param_adjustments and tree_map are not provided:
    fails in clone materialization (tree_function_versioning ()) when updating 
signature and remapping calls because clone_of (i.e. ipcp clone) and the new 
clone differ in param information, or

2. If param_adjustments and tree_map are provided:
    asserts in fnsummary duplication

What are the possible approaches to make it work?

Thanks,
Prachi

Reply via email to