Displaying 2 results from an estimated 2 matches for "8c00a07a".
2012 Dec 31
0
[LLVMdev] alignment issue, getting corrupt double values
...ct with more elements than the
backend has return registers for. You could try returning larger structs
indirectly using an sret pointer like Clang does.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121231/8c00a07a/attachment.html>
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