Re: [PATCH] Disable a broken multiversioning optimisation

2025-01-08 Thread Yangyu Chen
On 1/8/25 19:48, Andrew Carlotti wrote: This patch skips redirect_to_specific clone for aarch64 and riscv, because the optimisation has two flaws: 1. It checks the value of the "target" attribute, even on targets that don't use this attribute for multiversioning. 2. The algorithm used is too

Re: [PATCH] Disable a broken multiversioning optimisation

2025-01-08 Thread Richard Sandiford
Andrew Carlotti writes: > This patch skips redirect_to_specific clone for aarch64 and riscv, > because the optimisation has two flaws: > > 1. It checks the value of the "target" attribute, even on targets that > don't use this attribute for multiversioning. > > 2. The algorithm used is too aggress

[PATCH] Disable a broken multiversioning optimisation

2025-01-08 Thread Andrew Carlotti
This patch skips redirect_to_specific clone for aarch64 and riscv, because the optimisation has two flaws: 1. It checks the value of the "target" attribute, even on targets that don't use this attribute for multiversioning. 2. The algorithm used is too aggressive, and will eliminate the indirecti