Re: Add --param max-devirt-targets

2025-09-26 Thread H.J. Lu
On Sat, Sep 20, 2025 at 9:32 PM Jan Hubicka wrote: > > Hi, > Currently we speculatively devirtualize using static analysis (with no profile > feedback) only when there is one possible target found. With profile feedback > we support multiple targets which seems useful in some scenarios. > > This

Add --param max-devirt-targets

2025-09-20 Thread Jan Hubicka
Hi, Currently we speculatively devirtualize using static analysis (with no profile feedback) only when there is one possible target found. With profile feedback we support multiple targets which seems useful in some scenarios. This patch adds --param max-devirt-targets which enables devirtualizat