[PATCH] D155986: [clang][AMDGPU]: Don't use byval for struct arguments in function ABI
Changpeng Fang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 11 11:45:34 PDT 2023
cfang added inline comments.
================
Comment at: llvm/docs/AMDGPUUsage.rst:13813
+11: Use pass-by-reference (byref) instead of pass-by-value (byval) for struct
+ arguments in function ABI. Callee is responsible to allocate memory and
+ make a copy of the struct. Note that the backend still supports byval for
----------------
arsenm wrote:
> Specify C ABI
Do not get what to do to "Specify C ABI"? Can you suggest explicitly? Thanks.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155986/new/
https://reviews.llvm.org/D155986
More information about the llvm-commits
mailing list