[Mlir-commits] [mlir] 999f767 - [mlir] fix typo in AttributesAndTypes doc

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Jun 9 19:43:57 PDT 2022


Author: lewuathe
Date: 2022-06-10T11:42:57+09:00
New Revision: 999f767f9f82ed0c8ce0ab346fe996493378d02e

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

LOG: [mlir] fix typo in AttributesAndTypes doc

Added: 
    

Modified: 
    mlir/docs/AttributesAndTypes.md

Removed: 
    


################################################################################
diff  --git a/mlir/docs/AttributesAndTypes.md b/mlir/docs/AttributesAndTypes.md
index aaa420fa7683a..419f5865c2e4b 100644
--- a/mlir/docs/AttributesAndTypes.md
+++ b/mlir/docs/AttributesAndTypes.md
@@ -24,7 +24,7 @@ names to attribute values.
 Every SSA value, such as operation results or block arguments, in MLIR has a type
 defined by the type system. MLIR has an open type system with no fixed list of types,
 and there are no restrictions on the abstractions they represent. For example, take
-the following [Arithemetic AddI operation](Dialects/ArithmeticOps.md#arithaddi-mlirarithaddiop):
+the following [Arithmetic AddI operation](Dialects/ArithmeticOps.md#arithaddi-mlirarithaddiop):
 
 ```mlir
   %result = arith.addi %lhs, %rhs : i64
@@ -295,7 +295,7 @@ documentation for more information on defining and using interfaces.
 
 For each attribute or type, there are a few builders(`get`/`getChecked`)
 automatically generated based on the parameters of the type. These are used to
-construct instances of the correpsonding attribute or type. For example, given
+construct instances of the corresponding attribute or type. For example, given
 the following definition:
 
 ```tablegen
@@ -519,7 +519,7 @@ assembly format consists of literals, variables, and directives.
 
 - A literal is a keyword or valid punctuation enclosed in backticks, e.g.
   `` `keyword` `` or `` `<` ``.
-- A variable is a parameter name preceeded by a dollar sign, e.g. `$param0`,
+- A variable is a parameter name preceded by a dollar sign, e.g. `$param0`,
   which captures one attribute or type parameter.
 - A directive is a keyword followed by an optional argument list that defines
   special parser and printer behaviour.


        


More information about the Mlir-commits mailing list