Re: [PATCH v1 12/16] Refactor FMV name mangling.

2025-02-06 Thread Alfie Richards
Added missing CC On 05/02/2025 17:14, Richard Sandiford wrote: Alfie Richards writes: On 04/02/2025 10:03, Richard Sandiford wrote: Alfie Richards writes: +    return id; +  else if (cgraph_node::get_create (decl)->dispatcher_resolver_function) +    id = clone_identifier (id, "resol

Re: [PATCH v1 12/16] Refactor FMV name mangling.

2025-02-05 Thread Richard Sandiford
Alfie Richards writes: > On 04/02/2025 10:03, Richard Sandiford wrote: >> Alfie Richards writes: >>> + return id; >>> + else if (cgraph_node::get_create >>> (decl)->dispatcher_resolver_function) >>> + id = clone_identifier (id, "resolver"); >>> + else if (DECL_FUNCTION_VERSIONED (d

Re: [PATCH v1 12/16] Refactor FMV name mangling.

2025-02-05 Thread Alfie Richards
On 04/02/2025 10:03, Richard Sandiford wrote: Alfie Richards writes: + return id; + else if (cgraph_node::get_create (decl)->dispatcher_resolver_function) + id = clone_identifier (id, "resolver"); + else if (DECL_FUNCTION_VERSIONED (decl)) { - name += ".def

Re: [PATCH v1 12/16] Refactor FMV name mangling.

2025-02-04 Thread Richard Sandiford
Alfie Richards writes: > This patch is an overhaul of how FMV name mangling works. Previously > mangling logic was duplicated in several places across both target > specific and independent code. This patch changes this such that all > mangling is done in targetm.mangle_decl_assembler_name (includ

[PATCH v1 12/16] Refactor FMV name mangling.

2025-02-03 Thread Alfie Richards
This patch is an overhaul of how FMV name mangling works. Previously mangling logic was duplicated in several places across both target specific and independent code. This patch changes this such that all mangling is done in targetm.mangle_decl_assembler_name (including for the dispatched symbol a