Displaying 2 results from an estimated 2 matches for "83e26cb6".
2012 Dec 31
0
[LLVMdev] alignment issue, getting corrupt double values
On Monday, December 31, 2012, edA-qa mort-ora-y wrote:
> I also think it is kind of dangerous that LLVM silently accepts returns
> of larger structures and then produces invalid code. Note that it does
> actually pass by pointer if the backend can't return it directly, just
> in certain cases it fails to produce correct code.
You should definitely file a bug. Did you build
2012 Dec 31
2
[LLVMdev] alignment issue, getting corrupt double values
On 31/12/12 19:47, Joe Groff wrote:
> 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. Since most architectures don't specify any more
> than two return registers and you can't really "spill" a return value,
> weird poorly-tested things probably happen if