Re: [PATCH v2] Missed function specialization + partial devirtualization

2019-07-14 Thread Martin Liška
On 7/12/19 10:51 AM, Xiong Hu Luo wrote: > 2. Remove duplicate logic in ipa-profile. As > get_most_common_single_value could only return single value, but this > multiple indirect call needs store each hist value, will > consider specialize it later. Hi. I would like to see this patch rebase

[PATCH v2] Missed function specialization + partial devirtualization

2019-07-12 Thread Xiong Hu Luo
This patch aims to fix PR69678 caused by PGO indirect call profiling performance issues. Currently the default profile can only use the single indirect target that called more than 50%. This patch leverages multiple indirect targets use in LTO-WPA and LTO-LTRANS stage, as a result, function specia