http://llvm.org/bugs/show_bug.cgi?id=4203


Chris Lattner <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Chris Lattner <[email protected]>  2009-05-12 13:46:58 ---
Unfortunately, this is not how LLVM interacts with native ABIs.  You need to
know about the native ABI to know how structs are passed by value.  This is
annoying, but we don't have a good solution for this.  You'll note that
llvm-gcc (or clang) produce different llvm ir for functions returning structs
when targetting x86-32 and x86-64 for example.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to