On Sat, 10 Aug 2019 at 21:05, Praveen Velliengiri <praveenvelliengiri at gmail.com> wrote:> > Optimize Module is just a function object. >Thank you - I fixed that now. Regards
Hi Dibyendu, 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 ? Cheers, Lang. On Sat, Aug 10, 2019 at 2:28 PM Dibyendu Majumdar via llvm-dev < llvm-dev at lists.llvm.org> wrote:> On Sat, 10 Aug 2019 at 21:05, Praveen Velliengiri > <praveenvelliengiri at gmail.com> wrote: > > > > Optimize Module is just a function object. > > > > Thank you - I fixed that now. > > Regards > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://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/20190813/661615b3/attachment.html>
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: https://github.com/dibyendumajumdar/ravi/blob/master/include/ravi_llvmcodegen.h https://github.com/dibyendumajumdar/ravi/blob/master/src/ravi_llvmjit.cpp Just look sections marked USE_ORCv2_JIT.>> > Optimize Module is just a function object. >> > >> >> Thank you - I fixed that now.Regards Dibyendu