Lang Hames via llvm-dev
2019-Jan-22 02:15 UTC
[llvm-dev] kaleidoscope ch4 jit example regression?
Hi Nick, I was not aware of it, but it makes sense given the recent switch to ORC2, which has different symbol resolution rules. I am out on vacation this week, but will take a look when I get back and see if I can restore the old behavior. Cheers, Lang. Sent from my iPhone> On Jan 20, 2019, at 2:14 PM, David Blaikie <dblaikie at gmail.com> wrote: > > +Lang who does JIT things > > Yeah, I can confirm my local build (using LLVM source from today) of Chapter 4 behaves as you describe, and not as the documentation shows. Looks like somethnig needs updating (either source or the documentation). > >> On Sun, Dec 30, 2018 at 3:28 PM Nick Desaulniers via llvm-dev <llvm-dev at lists.llvm.org> wrote: >> https://llvm.org/docs/tutorial/LangImpl04.html has an example where >> the function `foo` gets redefined, and the JIT returns evaluation of >> the latest definition. I thought my code was wrong, but it seems that >> the binary produced by `ninja Kaleidoscope-Ch4` has the same bug. >> >> Granted, my LLVM checkout is from Nov 3 2018 (r346062). Is this a known issue? >> ~Nick Desaulniers >> _______________________________________________ >> LLVM Developers mailing list >> 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/20190121/6de0156d/attachment.html>
David Blaikie via llvm-dev
2019-Feb-18 18:40 UTC
[llvm-dev] kaleidoscope ch4 jit example regression?
Ping - did this end up getting addressed? On Mon, Jan 21, 2019, 6:15 PM Lang Hames <lhames at gmail.com wrote:> Hi Nick, > > I was not aware of it, but it makes sense given the recent switch to ORC2, > which has different symbol resolution rules. > > I am out on vacation this week, but will take a look when I get back and > see if I can restore the old behavior. > > Cheers, > Lang. > > Sent from my iPhone > > On Jan 20, 2019, at 2:14 PM, David Blaikie <dblaikie at gmail.com> wrote: > > +Lang who does JIT things > > Yeah, I can confirm my local build (using LLVM source from today) of > Chapter 4 behaves as you describe, and not as the documentation shows. > Looks like somethnig needs updating (either source or the documentation). > > On Sun, Dec 30, 2018 at 3:28 PM Nick Desaulniers via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> https://llvm.org/docs/tutorial/LangImpl04.html has an example where >> the function `foo` gets redefined, and the JIT returns evaluation of >> the latest definition. I thought my code was wrong, but it seems that >> the binary produced by `ninja Kaleidoscope-Ch4` has the same bug. >> >> Granted, my LLVM checkout is from Nov 3 2018 (r346062). Is this a known >> issue? >> ~Nick Desaulniers >> _______________________________________________ >> LLVM Developers mailing list >> 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/20190218/c8be75dd/attachment.html>
Lang Hames via llvm-dev
2019-Feb-20 23:20 UTC
[llvm-dev] kaleidoscope ch4 jit example regression?
Not yet unfortunately. I've had my head down working on a jut-linker replacement. Let me take a look right now... On Mon, Feb 18, 2019 at 10:40 AM David Blaikie <dblaikie at gmail.com> wrote:> Ping - did this end up getting addressed? > > On Mon, Jan 21, 2019, 6:15 PM Lang Hames <lhames at gmail.com wrote: > >> Hi Nick, >> >> I was not aware of it, but it makes sense given the recent switch to >> ORC2, which has different symbol resolution rules. >> >> I am out on vacation this week, but will take a look when I get back and >> see if I can restore the old behavior. >> >> Cheers, >> Lang. >> >> Sent from my iPhone >> >> On Jan 20, 2019, at 2:14 PM, David Blaikie <dblaikie at gmail.com> wrote: >> >> +Lang who does JIT things >> >> Yeah, I can confirm my local build (using LLVM source from today) of >> Chapter 4 behaves as you describe, and not as the documentation shows. >> Looks like somethnig needs updating (either source or the documentation). >> >> On Sun, Dec 30, 2018 at 3:28 PM Nick Desaulniers via llvm-dev < >> llvm-dev at lists.llvm.org> wrote: >> >>> https://llvm.org/docs/tutorial/LangImpl04.html has an example where >>> the function `foo` gets redefined, and the JIT returns evaluation of >>> the latest definition. I thought my code was wrong, but it seems that >>> the binary produced by `ninja Kaleidoscope-Ch4` has the same bug. >>> >>> Granted, my LLVM checkout is from Nov 3 2018 (r346062). Is this a known >>> issue? >>> ~Nick Desaulniers >>> _______________________________________________ >>> LLVM Developers mailing list >>> 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/20190220/bdbce172/attachment.html>
Reasonably Related Threads
- kaleidoscope ch4 jit example regression?
- kaleidoscope ch4 jit example regression?
- [LLVMdev] Function calls only being JIT'd once by Kaleidoscope with MCJIT?
- [LLVMdev] Function calls only being JIT'd once by Kaleidoscope with MCJIT?
- [LLVMdev] Optimization of calls to functions without side effects (from Kaleidoscope example)