Fixing code snippets in Kaleidoscope

Galder Zamarreno via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 3 07:42:09 PDT 2020


Hi,

Last week I was going through the Kaleidoscope tutorial, step by step. That
is, trying individual code snippets in the documentation.

Unfortunately, I discovered several inconsistencies in the description when
comparing with the actual source code shown at the bottom of each tutorial
chapter.

So, I went ahead and fixed the tutorial pages (chapters 2 to 4) to align
things to make them work. Hopefully future readers will find less obstacles
than I did going through them.

Please find attached a patch with these fixes.

Galder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200903/20747889/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Align-tutorial-steps-with-source-code.patch
Type: application/octet-stream
Size: 3502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200903/20747889/attachment.obj>


More information about the llvm-commits mailing list