[PATCH] D147714: [Attr] Introduce [[clang::nonportable_musttail]] as less strict version of [[clang::musttail]]
YAMAMOTO Takashi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 24 12:32:15 PDT 2023
yamt added a comment.
> musttail provide assurances that the tail call can be optimized on all targets.
Such a definition doesn't make much sense because for some targets tail call optimization isn't available at all.
Eg. Wasm w/o tail call proposal, xtensa windowed abi.
So I'm not sure what's the point of the new attribute. It seems simpler to fix the existing musttail attribute.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147714/new/
https://reviews.llvm.org/D147714
More information about the cfe-commits
mailing list