Re: Question about speculative make_edge_direct_to_target during LTO/IPA_PASS

2022-07-14 Thread Erick Ochoa via Gcc
Hi Martin, thanks a lot for your help! You were right! I am now able to call make_edge_direct_to_target during WPA. -Erick

Re: Question about speculative make_edge_direct_to_target during LTO/IPA_PASS

2022-07-08 Thread Martin Jambor
Hi Erick,, On Thu, Jul 07 2022, Erick Ochoa wrote: > On Fri, 1 Jul 2022 at 14:48, Martin Jambor wrote: > >> Why so late, why not as part of number 4? >> > Thanks for the feedback. The original reason why the call to > make_edge_direct_to_target was done so late is because of the lack of > functio

Re: Question about speculative make_edge_direct_to_target during LTO/IPA_PASS

2022-07-07 Thread Erick Ochoa via Gcc
On Fri, 1 Jul 2022 at 14:48, Martin Jambor wrote: > Why so late, why not as part of number 4? > Hi Martin, Thanks for the feedback. The original reason why the call to make_edge_direct_to_target was done so late is because of the lack of function bodies during WPA, summaries with insufficient i

Re: Question about speculative make_edge_direct_to_target during LTO/IPA_PASS

2022-07-01 Thread Martin Jambor
Hi, On Fri, Jul 01 2022, Erick Ochoa via Gcc wrote: > Hi, > > I have a pass that is able to speculate the target of indirect function > calls. This pass is an IPA_PASS. It: > > 1. generates summaries with the possible targets. > 2. writes analysis summary > 3. reads analysis summary > 4. combines

Question about speculative make_edge_direct_to_target during LTO/IPA_PASS

2022-07-01 Thread Erick Ochoa via Gcc
Hi, I have a pass that is able to speculate the target of indirect function calls. This pass is an IPA_PASS. It: 1. generates summaries with the possible targets. 2. writes analysis summary 3. reads analysis summary 4. combines the results from multiple partitions and if needed fixes the targets