[PATCH] D132144: [Clang][BPF] Support record argument with direct values
Andrii Nakryiko via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 18 11:13:12 PDT 2022
anakryiko added a comment.
Are there any restrictions about number of struct arguments that can be passed in? Kernel changes were assuming at most 2, should we have a test that tests passing 3 structs that fit into 5 input registers and another test that passes 3 structs that do not fit in 5 input registers? And what should be the behavior in the latter case -- compilation error or switch to "pass by reference"?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132144/new/
https://reviews.llvm.org/D132144
More information about the cfe-commits
mailing list