[PATCH] D151996: [AMDGPU] Start documenting calling conventions. NFC
Jon Chesterfield via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 09:16:50 PDT 2023
JonChesterfield added a comment.
In D151996#4396815 <https://reviews.llvm.org/D151996#4396815>, @nhaehnle wrote:
> There could probably be a general section here to state that in the graphics calling conventions, `inreg` is used to denote arguments mapped to SGPRs, while other arguments are mapped to VGPRs.
@arsenm does compute have this available? I've periodically wanted to be able to write a function which assumes a parameter is passed in SGPRs and hope for a compile time error calling it if that doesn't work out.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151996/new/
https://reviews.llvm.org/D151996
More information about the llvm-commits
mailing list