[PATCH] D124998: [AArch64][SVE] Add aarch64_sve_pcs attribute to Clang

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 5 08:42:33 PDT 2022


aaron.ballman added a comment.

In D124998#3493791 <https://reviews.llvm.org/D124998#3493791>, @paulwalker-arm wrote:

> Just wanted to say this is not a new calling convention as such, but rather an existing one that is generally auto-detected based on function signature.  The problem we're trying to solve here is that we need a way to allow a user to force the calling convention when the function signature would not normally choose it.

Thanks for this information! It's still not clear to me whether there's sufficient need for this extension. From this description, it sounds like this will be rarely used because it's only necessary in one-off situations. If that's correct, can those users make use of inline assembly instead of a devoted named calling convention?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124998/new/

https://reviews.llvm.org/D124998



More information about the cfe-commits mailing list