Re: [RFC PATCH v2 0/3] Add -ftarget-clones-table option support

2025-06-30 Thread Alfie Richards
Hi Yangyu, The design of this looks really good to me. Thanks for your work on it. I really appreciate how you made the JSON structure work for all targets. Out of curiosity, have you thought about what happens in the case of an invalid target version string? There will be some conflicts to

[RFC PATCH v2 0/3] Add -ftarget-clones-table option support

2025-06-29 Thread Yangyu Chen
This patch series introduces support for the target_clones table option in GCC. This option enables users to specify target_clones attributes in a separate file, allowing GCC to generate multiple versions of the function with different ISA extensions based on the specified table. This is achieved u