Displaying 3 results from an estimated 3 matches for "bsqr".
Did you mean:
2sqr
2013 Mar 28
1
[LLVMdev] LLVM Execution engine: Native call vs LLVM IR function call
Hi Óscar,
Thank you for your response. I did not explicitly optimize the IR.
I compile and run the two versions with
...
GenericValue gv = EE->runFunction(bsqr, args);
...
GenericValue gv2 = EE->runFunction(cppnat, args);
I am calling method runFunction of ExecutionEngine. I am using the default
code gen optimization level.
Best regards,
Nurudeen.
On Thu, March 28, 2013 7:05 am, Ãscar Fuentes wrote:
> nlamee at cs.mcgill.ca writes:
>
>>...
2013 Mar 28
0
[LLVMdev] LLVM Execution engine: Native call vs LLVM IR function call
nlamee at cs.mcgill.ca writes:
> I would like to understand why calling a native function from a function
> in LLVM IR can be much faster than calling an equivalent function in LLVM
> IR.
Do you optimize the LLVM IR? The IR version can inline the call and just
that would make it faster than the "native" version.
Please describe how do you compile your LLVM IR.
Once knowing
2013 Mar 28
2
[LLVMdev] LLVM Execution engine: Native call vs LLVM IR function call
Hi,
I would like to understand why calling a native function from a function
in LLVM IR can be much faster than calling an equivalent function in LLVM
IR.
For instance, here are two equivalent programs. The first calls an llvm
function while the second calls a native function. On my AMD machine, the
first takes 4.48s to run while the second takes 3.49s.
define i64 @bloop() {
entry:
br label