s-barannikov wrote:

> > Also, are `_Complex types` passed in memory the same way? (when we'are out 
> > of argument registers)
> 
> the same way as what?

The same way as in registers. When, e.g., `_Complex char` is passed in a 
register, it is packed into the lowest 16 bits of the register. If the argument 
is forced to stack (because it's 10-th argument of a function or so), should it 
be packed in memory too? Or should it be passed like a struct of two fields in 
this case (one field per stack slot)?
I suspect there should be no difference, but wanted to confirm.


https://github.com/llvm/llvm-project/pull/212340
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to