<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[doc][LLVM] Fix typo in the Kaleidoscope tutorial (#133675)</title>
<updated>2025-07-21T16:30:15+00:00</updated>
<author>
<name>Howard Chu</name>
<email>1007273067@qq.com</email>
</author>
<published>2025-07-21T16:30:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=b184dd9c6f4facf3c4c513ef826c584ead8220d9'/>
<id>b184dd9c6f4facf3c4c513ef826c584ead8220d9</id>
<content type='text'>
"to make the add's lexically identical" -&gt; "to make the adds lexically
identical"</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"to make the add's lexically identical" -&gt; "to make the adds lexically
identical"</pre>
</div>
</content>
</entry>
<entry>
<title>[Kaleidoscope] Switch to the new PassManager, revisited. (#72324)</title>
<updated>2023-11-16T17:13:56+00:00</updated>
<author>
<name>Logikable</name>
<email>seanluchen@google.com</email>
</author>
<published>2023-11-16T17:13:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3d2527ebe3eb75381abd500b9851f7a2bf61d6b8'/>
<id>3d2527ebe3eb75381abd500b9851f7a2bf61d6b8</id>
<content type='text'>
Rollforward of #69032, which was reverted in
[63d19cf](https://github.com/llvm/llvm-project/commit/63d19cfd853b0b4e374f40842ee388b0da5de36f).

New: implemented changes in
https://github.com/llvm/llvm-project/pull/69032#issuecomment-1809250162.
Given the PassBuilder is how we expect users to register passes, the
tutorial should reflect that.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rollforward of #69032, which was reverted in
[63d19cf](https://github.com/llvm/llvm-project/commit/63d19cfd853b0b4e374f40842ee388b0da5de36f).

New: implemented changes in
https://github.com/llvm/llvm-project/pull/69032#issuecomment-1809250162.
Given the PassBuilder is how we expect users to register passes, the
tutorial should reflect that.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Kaleidoscope] Switch to the new PassManager. (#69032)"</title>
<updated>2023-11-13T22:38:14+00:00</updated>
<author>
<name>Amara Emerson</name>
<email>amara@apple.com</email>
</author>
<published>2023-11-13T22:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=63d19cfd853b0b4e374f40842ee388b0da5de36f'/>
<id>63d19cfd853b0b4e374f40842ee388b0da5de36f</id>
<content type='text'>
This reverts commit 7b94744e77aaf752abc2c6ab38ee3fdfafbeff9d.

This breaks the expensive checks bot: https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/26026/

We didn't notice because it was broken for other reasons I think.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 7b94744e77aaf752abc2c6ab38ee3fdfafbeff9d.

This breaks the expensive checks bot: https://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/26026/

We didn't notice because it was broken for other reasons I think.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Kaleidoscope] Switch to the new PassManager. (#69032)</title>
<updated>2023-10-18T16:25:50+00:00</updated>
<author>
<name>Logikable</name>
<email>seanluchen@google.com</email>
</author>
<published>2023-10-18T16:25:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=7b94744e77aaf752abc2c6ab38ee3fdfafbeff9d'/>
<id>7b94744e77aaf752abc2c6ab38ee3fdfafbeff9d</id>
<content type='text'>
Using the new pass manager is more verbose; let me know if the tutorial
doesn't flow well with all the additions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the new pass manager is more verbose; let me know if the tutorial
doesn't flow well with all the additions.</pre>
</div>
</content>
</entry>
<entry>
<title>[docs] Use ExecutorAddr::toPtr() in ORC documentation.</title>
<updated>2023-05-31T22:15:55+00:00</updated>
<author>
<name>Mike Rostecki</name>
<email>vadorovsky@protonmail.com</email>
</author>
<published>2023-05-31T22:04:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=2addaeda18adb5a26320693f9b34df8495b8a225'/>
<id>2addaeda18adb5a26320693f9b34df8495b8a225</id>
<content type='text'>
The partial move from JITTargetAddress to ExecutorAddr in 8b1771bd9f30 did not
update the ORC or Kaleidoscope documents. This patch fixes the inconsistency.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D150458
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The partial move from JITTargetAddress to ExecutorAddr in 8b1771bd9f30 did not
update the ORC or Kaleidoscope documents. This patch fixes the inconsistency.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D150458
</pre>
</div>
</content>
</entry>
<entry>
<title>[Kaleidoscope] Update code snippets in text to match full code listings</title>
<updated>2023-01-31T18:01:02+00:00</updated>
<author>
<name>Dhruv Chawla</name>
<email>dhruv263.dc@gmail.com</email>
</author>
<published>2023-01-31T17:56:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=1625530d765557378e3e34f54f02883a402ff472'/>
<id>1625530d765557378e3e34f54f02883a402ff472</id>
<content type='text'>
There were quite a few places in the tutorial where the snippets were not up to date with the full code listings given. I have updated all of the ones I could find, which mostly involves changing `.` to `-&gt;` when accessing through a `std::unique_ptr`, changing `while (1)` to `while (true)`, and other such small changes.

There are still however a few places where I am not sure what to do, such as:
- Chapter 4: `ParseTopLevelExpr()` in chapter 3 sets the ProtoTypeAST
             name to "", however it is referred to as "__anon_expr"
             in chapter 4. Would it be required to mention this change
             in chapter 4?
- Chapter 9: The code snippets refer to the top level expression as
             "main", however the full code listing refers to it as
             "__anon_expr". I think given the context of the chapter
             it makes sense to refer to it as "main", so I have
             updated the code listing to reflect that.
- Chapter 9: In chapter 9 the diff given for `HandleTopLevelExpression()`
             deletes code that is not mentioned anywhere else, so I am
             not sure what is to be done there.
- Miscellaneous: I don't think this is very important, however the
                 casing used for the first word of error messages
                 tends to vary between upper and lower case between
                 chapters and I do not know if it is worth reconciling
                 these differences.

Reviewed By: xgupta

Differential Revision: https://reviews.llvm.org/D142323
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There were quite a few places in the tutorial where the snippets were not up to date with the full code listings given. I have updated all of the ones I could find, which mostly involves changing `.` to `-&gt;` when accessing through a `std::unique_ptr`, changing `while (1)` to `while (true)`, and other such small changes.

There are still however a few places where I am not sure what to do, such as:
- Chapter 4: `ParseTopLevelExpr()` in chapter 3 sets the ProtoTypeAST
             name to "", however it is referred to as "__anon_expr"
             in chapter 4. Would it be required to mention this change
             in chapter 4?
- Chapter 9: The code snippets refer to the top level expression as
             "main", however the full code listing refers to it as
             "__anon_expr". I think given the context of the chapter
             it makes sense to refer to it as "main", so I have
             updated the code listing to reflect that.
- Chapter 9: In chapter 9 the diff given for `HandleTopLevelExpression()`
             deletes code that is not mentioned anywhere else, so I am
             not sure what is to be done there.
- Miscellaneous: I don't think this is very important, however the
                 casing used for the first word of error messages
                 tends to vary between upper and lower case between
                 chapters and I do not know if it is worth reconciling
                 these differences.

Reviewed By: xgupta

Differential Revision: https://reviews.llvm.org/D142323
</pre>
</div>
</content>
</entry>
<entry>
<title>Added warning about outdated feature into Kaleidoscope tutorial text</title>
<updated>2022-08-07T09:07:05+00:00</updated>
<author>
<name>Shivam Gupta</name>
<email>shivam98.tkg@gmail.com</email>
</author>
<published>2022-08-06T07:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=fdc950958ed0970159071cc4367a66149971586f'/>
<id>fdc950958ed0970159071cc4367a66149971586f</id>
<content type='text'>
**Motivation: **  I have been studying LLVM with LLVM Kaleidoscope tutorial. In the 4th part I faced an error which said that I can't redefine a function as shown in the tutorial. After hours of searching, I finally found the reason that produced the error is that the feature of symbols redefinition has been disabled since LLVM-9. There was no information about that in the tutorial's text, so I've decided to add a warning.

**Changes**: The only file I fixed is "`llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst`", I added text warning which says that described feature is outdated and the described functionality will not work properly on LLVM versions older 8 one.

Patch by : DKay7

Differential Revision: https://reviews.llvm.org/D130613
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
**Motivation: **  I have been studying LLVM with LLVM Kaleidoscope tutorial. In the 4th part I faced an error which said that I can't redefine a function as shown in the tutorial. After hours of searching, I finally found the reason that produced the error is that the feature of symbols redefinition has been disabled since LLVM-9. There was no information about that in the tutorial's text, so I've decided to add a warning.

**Changes**: The only file I fixed is "`llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst`", I added text warning which says that described feature is outdated and the described functionality will not work properly on LLVM versions older 8 one.

Patch by : DKay7

Differential Revision: https://reviews.llvm.org/D130613
</pre>
</div>
</content>
</entry>
<entry>
<title>[Doc][NFC] Fix Kaleidoscope links, typos and add blog posts for MCJIT</title>
<updated>2021-01-25T14:29:36+00:00</updated>
<author>
<name>xgupta</name>
<email>shivam98.tkg@gmail.com</email>
</author>
<published>2021-01-25T14:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3546b372219db5c5f4004da6a0066bb9860d3d37'/>
<id>3546b372219db5c5f4004da6a0066bb9860d3d37</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Kaleidoscope tutorial inline code</title>
<updated>2020-06-12T19:02:35+00:00</updated>
<author>
<name>Erich Keane</name>
<email>erich.keane@intel.com</email>
</author>
<published>2020-06-12T19:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=884fb45ed2aaa053fa76ca8ffa3c9a9ca595bd65'/>
<id>884fb45ed2aaa053fa76ca8ffa3c9a9ca595bd65</id>
<content type='text'>
Reported on IRC, the tutorial code at the bottom of the page correctly
namespaces the FunctionPassManager, but the as-you-go code does not.
This patch adds the namespace to those.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported on IRC, the tutorial code at the bottom of the page correctly
namespaces the FunctionPassManager, but the as-you-go code does not.
This patch adds the namespace to those.
</pre>
</div>
</content>
</entry>
<entry>
<title>Doc: Links should use https</title>
<updated>2020-03-22T21:49:33+00:00</updated>
<author>
<name>Sylvestre Ledru</name>
<email>sledru@mozilla.com</email>
</author>
<published>2020-03-22T21:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=72fd1033ea577a769cc855fde6b5576b82380715'/>
<id>72fd1033ea577a769cc855fde6b5576b82380715</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
