[LLVMdev] Inreg firstclass structs

Matthijs Kooijman matthijs at stdin.nl
Tue Jul 8 02:28:47 PDT 2008


Hi all,

I've been discussing parameter attributes and their impact on first-class
struct parameters. Duncan and I came to the conclusion that the only attribute
that could be applied to structs currently, is the inreg attribute. However,
since there is no support anywhere for that currently (transformation passes
and backends?), it might be better to disallow the inreg attribute for struct
parameters and return values for now.

AFAICS, this would require modification to ParamAttr::typeIncompatible and the
langref.

Any objections?

Gr.

Matthijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080708/e455956e/attachment.sig>


More information about the llvm-dev mailing list