[LLVMdev] About JIT by LLVM 2.9 or later

Óscar Fuentes ofv at wanadoo.es
Tue Nov 1 19:22:44 PDT 2011


空明流转 <wuye9036 at gmail.com> writes:

> Could I wrap LLVM with mingw and expose some C api to called by MSVC?
>
> And in mingw, I will override the signature float4 foo( float44 ) to
> float4* foo( float4*, float44* ); ?
>
> Is that OK?

If you pass and return the structs through pointers, you don't need
MinGW in the middle, you can use MSVC directly. Please note that using
MinGW will not fix the LLVM sret problem.




More information about the llvm-dev mailing list