Displaying 2 results from an estimated 2 matches for "typeincompatible".
2008 Jul 08
3
[LLVMdev] Inreg firstclass structs
...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/...
2008 Jul 08
0
[LLVMdev] Inreg firstclass structs
...e 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?
MO, inreg sounds like a great way to distinguish between byval structs
that should be passed/returned in memory and those that should be
passed in registers, especially in situations where the same LLVM
struct should be passed/returned in different w...