Displaying 2 results from an estimated 2 matches for "e08dcd1a".
2010 Jun 05
0
[LLVMdev] Fwd: Passing structures by value on Windows
...n
> example.
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100606/e08dcd1a/attachment.html>
2010 Jun 03
4
[LLVMdev] Passing structures by value on Windows
Hello, LLVM team!
I faced a problem with passing structures by value on Windows (both
x86 and x64). I tried to write simple { i32 i32 } Vector2D addition
using IR builder (signature is Vector2D add(Vector2D a, Vector2D b)).
x86 version worked fine, but on x64 function returned incorrect value.
Some research showed, that { i16 i16 } addition also fails on x86, so
I guess the problem is in passing