[Mlir-commits] [mlir] fix typos in documentation (PR #110869)
Timothy Hoffman
llvmlistbot at llvm.org
Wed Oct 2 08:31:35 PDT 2024
https://github.com/tim-hoffman created https://github.com/llvm/llvm-project/pull/110869
None
>From 08df00fa9634e535ead57310ebcef5ee08620647 Mon Sep 17 00:00:00 2001
From: Tim Hoffman <timothy.hoffman at veridise.com>
Date: Wed, 2 Oct 2024 10:30:48 -0500
Subject: [PATCH] fix typos in documentation
---
mlir/docs/DefiningDialects/Operations.md | 2 +-
mlir/docs/DefiningDialects/_index.md | 2 +-
mlir/include/mlir/Dialect/Func/IR/FuncOps.td | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mlir/docs/DefiningDialects/Operations.md b/mlir/docs/DefiningDialects/Operations.md
index c252d9caf98eba..d93c0e7146011c 100644
--- a/mlir/docs/DefiningDialects/Operations.md
+++ b/mlir/docs/DefiningDialects/Operations.md
@@ -756,7 +756,7 @@ The available directives are as follows:
* `ref ( input )`
- - Represents a reference to the a variable or directive, that must have
+ - Represents a reference to a variable or directive, that must have
already been resolved, that may be used as a parameter to a `custom`
directive.
- Used to pass previously parsed entities to custom directives.
diff --git a/mlir/docs/DefiningDialects/_index.md b/mlir/docs/DefiningDialects/_index.md
index 83070b616d0ef7..5196092dfbda11 100644
--- a/mlir/docs/DefiningDialects/_index.md
+++ b/mlir/docs/DefiningDialects/_index.md
@@ -133,7 +133,7 @@ void MyOp::setOtherValue(StringAttr newValue);
### Dependent Dialects
-MLIR has a very large ecosystem, and contains dialects that server many different purposes. It
+MLIR has a very large ecosystem, and contains dialects that serve many different purposes. It
is quite common, given the above, that dialects may want to reuse certain components from other
dialects. This may mean generating operations from those dialects during canonicalization, reusing
attributes or types, etc. When a dialect has a dependency on another, i.e. when it constructs and/or
diff --git a/mlir/include/mlir/Dialect/Func/IR/FuncOps.td b/mlir/include/mlir/Dialect/Func/IR/FuncOps.td
index cca0008cbc2633..22efe15aa83a50 100644
--- a/mlir/include/mlir/Dialect/Func/IR/FuncOps.td
+++ b/mlir/include/mlir/Dialect/Func/IR/FuncOps.td
@@ -251,7 +251,7 @@ def FuncOp : Func_Op<"func", [
// A function that returns its argument twice:
func.func @count(%x: i64) -> (i64, i64)
- attributes {fruit: "banana"} {
+ attributes {fruit = "banana"} {
return %x, %x: i64, i64
}
More information about the Mlir-commits
mailing list