Skip to content

Commit 5a0546a

Browse files
Sbermmahesh-attarde
authored andcommitted
[doc][LLVM] Fix typo in the Kaleidoscope tutorial (llvm#133675)
"to make the add's lexically identical" -> "to make the adds lexically identical"
1 parent e46cc93 commit 5a0546a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl04.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ instead of computing "``x+3``" twice.
8686

8787
Unfortunately, no amount of local analysis will be able to detect and
8888
correct this. This requires two transformations: reassociation of
89-
expressions (to make the add's lexically identical) and Common
89+
expressions (to make the adds lexically identical) and Common
9090
Subexpression Elimination (CSE) to delete the redundant add instruction.
9191
Fortunately, LLVM provides a broad range of optimizations that you can
9292
use, in the form of "passes".

0 commit comments

Comments
 (0)