[PATCH] D155986: [clang][AMDGPU]: Don't use byval for struct arguments in function ABI
Jon Chesterfield via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 21 15:49:44 PDT 2023
JonChesterfield added a comment.
We do not have a defined ABI. We do not have machine code linking. Calling functions from assembly requires considerable care already. We change things like which registers are live per-function.
The time will come where we are sufficiently constrained to be stuck with inefficiency in calling convention but we are not there yet. Other languages that want to link against IR emitted by clang can still do so, though they'll also need to change to the more efficient convention to do so.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155986/new/
https://reviews.llvm.org/D155986
More information about the llvm-commits
mailing list