[PATCH] D151996: [AMDGPU] Start documenting calling conventions. NFC
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 10:00:09 PDT 2023
sebastian-ne added inline comments.
================
Comment at: llvm/docs/AMDGPUUsage.rst:1083-1086
+ ``amdgpu_gfx`` Used for AMD graphics targets. Functions with this calling convention
+ cannot be used as entry points.
+ ..TODO::
+ Describe.
----------------
For the description: A difference between amdgpu_gfx and the C calling convention is that in amdgpu_gfx, SGPR arguments are callee-save (preserved), in the C cc, they are not.
Otherwise, there is not much difference.
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