From b6031796c1e4f2b2edf6ded98a06a79c5d97f90a Mon Sep 17 00:00:00 2001 From: chad3814 Date: Thu, 31 Oct 2024 10:24:37 -0500 Subject: [PATCH] Use better wording The phrase "create the *right* LLVM instruction" when talking about left-hand side and *right*-hand-side of binary operators can be confusing. Instead "create the correct LLVM instruction" does not cause a re-read for understanding. --- .../tutorial/MyFirstLanguageFrontend/LangImpl03.rst.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/19.1.0/docs/_sources/tutorial/MyFirstLanguageFrontend/LangImpl03.rst.txt b/19.1.0/docs/_sources/tutorial/MyFirstLanguageFrontend/LangImpl03.rst.txt index 2f3f68840..6bbdd94be 100644 --- a/19.1.0/docs/_sources/tutorial/MyFirstLanguageFrontend/LangImpl03.rst.txt +++ b/19.1.0/docs/_sources/tutorial/MyFirstLanguageFrontend/LangImpl03.rst.txt @@ -182,7 +182,7 @@ Binary operators start to get more interesting. The basic idea here is that we recursively emit code for the left-hand side of the expression, then the right-hand side, then we compute the result of the binary expression. In this code, we do a simple switch on the opcode to create -the right LLVM instruction. +the correct LLVM instruction. In the example above, the LLVM builder class is starting to show its value. IRBuilder knows where to insert the newly created instruction,