Displaying 4 results from an estimated 4 matches for "langimpl04".
2018 Dec 30
2
kaleidoscope ch4 jit example regression?
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...
2019 Jan 22
2
kaleidoscope ch4 jit example regression?
...ter 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 chec...
2019 Feb 20
2
kaleidoscope ch4 jit example regression?
...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.
>>>
>>> Gr...
2019 Oct 15
2
Easy way to add common pass for optimization
Hi all,
I wrote a compiler front end which generates IR codes, but due to the
logic, the IR codes have a lot of instructions like unnecessary br jump,
basic block creation, load instructions and expression which can be
simplified.
now I want to use built in passes to optimize the generated code, but after
I read the tutorial: https://llvm.org/docs/tutorial/MyFirstLanguageFrontend,
I found that I