Displaying 2 results from an estimated 2 matches for "tp55680p55694".
Did you mean:
tp55680p55692
2013 Mar 05
0
[LLVMdev] Convert C variable to LLVM IR Variable
Hi Chia Lun Liu,
> The reason why I take such indirect method is that as I know, JIT is not
> able to
>
> do with LLVM GlobalVariable with ThreadLocal type.
did you try mcjit? Run lli with -use-mcjit
Ciao, Duncan.
2013 Mar 05
4
[LLVMdev] Convert C variable to LLVM IR Variable
Hi everyone,
I am doing some work with LLVM IR, I need to use LLVM IR to do operation
on C variables.
Code emission is done by LLVM JIT.
That variable is C thread local , for example
__thread int* gvar;
I think some methods to convert that variable to LLVM IR,
(1) use external function
I know LLVM IR is able to call an external function, so I can write codes
that look like:
int* load()