yonghong-song added a comment.

The compiler only counted the total number of registers won't exceed 5. You 
could have 5 struct arguments (each one register), or 2 struct arguments (with 
two registers each) and one integer register.
Whether to pass by value or by reference is a ABI issue, not related to the 
number of arguments. Checking whether arguments are enough or not is left to 
BPF backend lowering.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132144/new/

https://reviews.llvm.org/D132144

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to