https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115325
--- Comment #6 from Jan Wassenberg <jan.wassenberg at gmail dot com> ---
hm, we are a library that allows users to either affix HWY_ATTR to each of
their functions (which expands to __attribute__((target("arch=+v"))), or
instead to use a pragma to annotate all functions within a code region,
typically most of the TU.
I'm surprised there is a difference between pragma and per-function attribute,
doesn't the pragma basically attach an attribute to every function?
Clang seems to do it like that:
`#pragma clang attribute push(__attribute__((target("+v"))), apply_to =
function)`
Unfortunately I don't think it will fly to require the HWY_ATTR on every
function, there could be many of them, and I doubt many users will make that
change in order to support RVV.