[llvm-dev] ORC v2 question

Dibyendu Majumdar via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 13 13:10:40 PDT 2019

Hi Lang,

On Tue, 13 Aug 2019 at 20:47, Lang Hames <lhames at gmail.com> wrote:
> Sorry for the delayed reply. Looks like you have figured out how to solve your issue already. Out of interest, what did you need to do? Do you have anything that you would like to see added to http://llvm.org/docs/ORCv2.html ?

Sorry my post was misleading. I figured out below which was part of the problem.
Code is still not getting optimized at all. I don't really know what
is going on.

Yet the same setup works fine with the Legacy ORC v1 setup.

Any help is appreciated.

Here are again the links to the relevant code:


Just look sections marked USE_ORCv2_JIT.

>> > Optimize Module is just a function object.
>> >
>> Thank you - I fixed that now.


More information about the llvm-dev mailing list