[PATCH] D155986: [clang][AMDGPU]: Don't use byval for struct arguments in function ABI
Yaxun Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 24 15:01:40 PDT 2023
yaxunl added a comment.
Does this patch cause the callee to skip making a local copy of the struct type argument? What if the callee makes changes to the argument? That is a common use case since users assume the function arguments in C/C++/HIP are passed by value.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155986/new/
https://reviews.llvm.org/D155986
More information about the llvm-commits
mailing list