> On Mon, May 19, 2014 at 1:40 PM, Jan Hubicka <hubi...@ucw.cz> wrote: > >> I've updated the patch. Shall I move the check inside cgraph_clone_node? > > > > Thanks, > > I think it is OK as it is. I belive individual users should know what do to > > in such cases themselves. > > You may want to also check what ipa-cp is doing. > > I checked ipa-cp, but didn't see count propagation anywhere. Could you > point me to the function?
I believe it is done in update_specialized_profile and also via cgraph_create_virtual_clone honza