[llvm] b184dd9 - [doc][LLVM] Fix typo in the Kaleidoscope tutorial (#133675)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 21 09:30:18 PDT 2025
Author: Howard Chu
Date: 2025-07-21T17:30:15+01:00
New Revision: b184dd9c6f4facf3c4c513ef826c584ead8220d9
URL: https://github.com/llvm/llvm-project/commit/b184dd9c6f4facf3c4c513ef826c584ead8220d9
DIFF: https://github.com/llvm/llvm-project/commit/b184dd9c6f4facf3c4c513ef826c584ead8220d9.diff
LOG: [doc][LLVM] Fix typo in the Kaleidoscope tutorial (#133675)
"to make the add's lexically identical" -> "to make the adds lexically
identical"
Added:
Modified:
llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst
Removed:
################################################################################
diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst
index 56608020fc0c9..5ebff3b0474b1 100644
--- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst
+++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst
@@ -86,7 +86,7 @@ instead of computing "``x+3``" twice.
Unfortunately, no amount of local analysis will be able to detect and
correct this. This requires two transformations: reassociation of
-expressions (to make the add's lexically identical) and Common
+expressions (to make the adds lexically identical) and Common
Subexpression Elimination (CSE) to delete the redundant add instruction.
Fortunately, LLVM provides a broad range of optimizations that you can
use, in the form of "passes".
More information about the llvm-commits
mailing list