[llvm-branch-commits] [llvm] fe5c24e - [docs] Fix typo in tutorial

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Apr 1 21:39:31 PDT 2022


Author: Bill Wendling
Date: 2022-04-01T20:20:06-07:00
New Revision: fe5c24e937548f97f24ec864b1c420e1cca0c110

URL: https://github.com/llvm/llvm-project/commit/fe5c24e937548f97f24ec864b1c420e1cca0c110
DIFF: https://github.com/llvm/llvm-project/commit/fe5c24e937548f97f24ec864b1c420e1cca0c110.diff

LOG: [docs] Fix typo in tutorial

Use "operands" instead of "operators"

Closes #54397

(cherry picked from commit 114a8903b86929f621c6b00f15e549931d912737)

Added: 
    

Modified: 
    llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst
index 7170b0fb25de0..fb23f9fe3f18b 100644
--- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst
+++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl03.rst
@@ -197,7 +197,7 @@ suffix. Local value names for instructions are purely optional, but it
 makes it much easier to read the IR dumps.
 
 `LLVM instructions <../../LangRef.html#instruction-reference>`_ are constrained by strict
-rules: for example, the Left and Right operators of an `add
+rules: for example, the Left and Right operands of an `add
 instruction <../../LangRef.html#add-instruction>`_ must have the same type, and the
 result type of the add must match the operand types. Because all values
 in Kaleidoscope are doubles, this makes for very simple code for add,


        


More information about the llvm-branch-commits mailing list