Displaying 3 results from an estimated 3 matches for "6c238789".
2012 Dec 31
0
[LLVMdev] alignment issue, getting corrupt double values
On Sunday, December 30, 2012, edA-qa mort-ora-y wrote:
> I can confirm that if I generate the value directly (not via a return)
> then the expected values are extracted from the structure. So it is
> perhaps a return value issue.
>
I think most backends treat struct return by value as returning multiple
values in registers; for instance, {i32, i64} returns into {EAX, RDX} on
x86-64.
2012 Dec 31
2
[LLVMdev] alignment issue, getting corrupt double values
...pt: I'm also happy to receive encrypted mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121231/6c238789/attachment.sig>
2012 Dec 30
2
[LLVMdev] alignment issue, getting corrupt double values
I can confirm that if I generate the value directly (not via a return)
then the expected values are extracted from the structure. So it is
perhaps a return value issue.
On 30/12/12 19:04, Peng Cheng wrote:
> I also saw this issue before. Llvm seems have trouble returning general
> struct values from functions. One easy workaround is to use packed
> struct type.
>
> Hope this