Displaying 4 results from an estimated 4 matches for "linkinmcjit".
2016 Jun 29
0
Noob: need help with go bindings
...her an MCJIT- or
an interpreter-based execution engine, and only the former will be able to
resolve symbols in the parent process. MCJIT will only be used if you have
called the appropriate initialisation functions first. If you add the
following to the top of your main() function, it should work:
LinkInMCJIT() InitializeNativeTarget() InitializeNativeAsmPrinter()
Cheers,
Andrew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160629/625d09fd/attachment.html>
2016 Jun 28
2
Noob: need help with go bindings
I have the following code to generate a really basic IR:
http://gobin.io/LtdJ
And the output I get from it is: http://gobin.io/XgkH
That IR code which is dumped seems to work fine if I do llc then gcc on it,
so I'm not sure why it won't work through the engine. This is my first time
using LLVM so I'm pretty new with all of it, any help would be greatly
appreciated. Thanks!
- Brian
2016 Jun 30
1
Noob: need help with go bindings
...rpreter-based execution engine, and only the former will be able
> to resolve symbols in the parent process. MCJIT will only be used if you
> have called the appropriate initialisation functions first. If you add the
> following to the top of your main() function, it should work:
>
> LinkInMCJIT() InitializeNativeTarget() InitializeNativeAsmPrinter()
>
> Cheers,
> Andrew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160630/bfe9255d/attachment.html>
2016 Aug 10
2
crash JIT with AVX intrinsics
Hi all,
I have some old code using the JIT via the LLVM-3.0-C API. I want to
upgrade to newer versions of LLVM. As a simple example I wrote a C program
that creates the following function and calls it:
; ModuleID = 'round-avx.bc'
target triple = "x86_64-pc-linux-gnu"
define void @round(<8 x float>*) {
_L1:
%1 = load <8 x float>* %0
%2 = call <8 x