[llvm-dev] Recompile (and re-link) a function at runtime using ORC JIT for an ARM platform

Gavin Vaz via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 20 13:15:41 PDT 2016


Hi Lang,

Thanks for the clarification. It is good to know that support for ARM is 
in the pipeline.

Cheers,
Gavin

On 20/07/2016 02:59, Lang Hames wrote:
> Hi Gavin,
>
>     However, after going through the code, it appears that the
>     createCompileCallbackMgr (llvm-3.8.0) /
>     createLocalCompileCallbackManager (llvm-git) do not support an ARM
>     triple yet.
>
>
> Not yet I'm afraid.
>
>     Does anyone know if ARM will be supported in the future and/or
>     point me
>     in the right direction?
>
>
> Absolutely. I'm hoping to have ARM support for lazy compilation on 
> Darwin some time in the next month or so. Depending on ABI 
> compatibility, you should be able to re-use or adapt this for Odroid.
>
> The APIs for lazy compilation are all designed to be 
> target-independent so in the mean time you should be able to prototype 
> your work on x86/arm64. Once the appropriate ARM ABI support lands 
> porting should be more-or-less a no-op.
>
> Cheers,
> Lang.
> On Mon, Jul 18, 2016 at 9:45 AM, David Blaikie <dblaikie at gmail.com 
> <mailto:dblaikie at gmail.com>> wrote:
>
>     +Lang Hames <mailto:lhames at gmail.com>, Godfather of Orcs.
>
>
>     On Fri, Jul 15, 2016 at 1:42 AM Gavin Vaz via llvm-dev
>     <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>
>         Hi,
>
>         We are making the move from legacy JIT (llvm-3.5.x) to ORC JIT
>         and I am
>         looking to recompile (and re-link) functions at runtime for an ARM
>         platform (Odroid XU3) . I looked at OrcLazyJIT.cpp as a
>         starting point.
>         However, after going through the code, it appears that the
>         createCompileCallbackMgr (llvm-3.8.0) /
>         createLocalCompileCallbackManager (llvm-git) do not support an ARM
>         triple yet.
>
>         Does anyone know if ARM will be supported in the future and/or
>         point me
>         in the right direction?
>
>         Cheers,
>
>         Gavin
>
>         _______________________________________________
>         LLVM Developers mailing list
>         llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
>         http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160720/0510b2d6/attachment.html>


More information about the llvm-dev mailing list