https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118328
Sam James <sjames at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fw at gcc dot gnu.org,
| |hjl.tools at gmail dot com,
| |matz at gcc dot gnu.org
--- Comment #18 from Sam James <sjames at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #17)
> >Can we have the same implementation/interface of LLVM?
>
> Is there real documentation on this attribute or is it just ad hoc on what
> it does on the LLVM side about the ABI implications? It seems to me there
> should be 2 seperate attributes, one to change the argument passing and one
> for preserve_none part.
>
See the discussion in PR110899. It is actually a bit worrying as they don't
guarantee stability:
https://clang.llvm.org/docs/AttributeReference.html#preserve-none.