[Mlir-commits] [mlir] a8901a0 - [mlir] NFC: Fix trivial typos in documents
Kazuaki Ishizaki
llvmlistbot at llvm.org
Wed Mar 18 06:20:24 PDT 2020
Author: Kazuaki Ishizaki
Date: 2020-03-18T22:20:17+09:00
New Revision: a8901a035441de54131407cad579fe3de8a0ea43
URL: https://github.com/llvm/llvm-project/commit/a8901a035441de54131407cad579fe3de8a0ea43
DIFF: https://github.com/llvm/llvm-project/commit/a8901a035441de54131407cad579fe3de8a0ea43.diff
LOG: [mlir] NFC: Fix trivial typos in documents
Fix trivial typos
Reviewers: mravishankar, antiagainst, ftynse
Reviewed By: ftynse
Subscribers: ftynse, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, Joonsoo, bader, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D76347
Added:
Modified:
mlir/docs/CreatingADialect.md
mlir/docs/Dialects/SPIR-V.md
mlir/docs/LangRef.md
mlir/docs/OpDefinitions.md
mlir/docs/RationaleLinalgDialect.md
mlir/include/mlir/Dialect/SPIRV/SPIRVCastOps.td
Removed:
################################################################################
diff --git a/mlir/docs/CreatingADialect.md b/mlir/docs/CreatingADialect.md
index 8c8d3a9bc0eb..8757bf5e2a90 100644
--- a/mlir/docs/CreatingADialect.md
+++ b/mlir/docs/CreatingADialect.md
@@ -105,7 +105,7 @@ new targets with the same sources.
# Dialect Conversions
Conversions from “X” to “Y” live in mlir/include/mlir/Conversion/XToY,
-mlir/lib/Convresion/XToY and mlir/test/Conversion/XToY, respectively.
+mlir/lib/Conversion/XToY and mlir/test/Conversion/XToY, respectively.
Default file names for conversion should omit “Convert” from their
name, e.g. lib/VectorToLLVM/VectorToLLVM.cpp.
diff --git a/mlir/docs/Dialects/SPIR-V.md b/mlir/docs/Dialects/SPIR-V.md
index 0cb628177750..e1e772b43a71 100644
--- a/mlir/docs/Dialects/SPIR-V.md
+++ b/mlir/docs/Dialects/SPIR-V.md
@@ -934,7 +934,7 @@ proper hooks to check the dynamic legality of SPIR-V ops. Users can further
register other legality constraints into the returned `SPIRVConversionTarget`.
`spirv::lookupTargetEnvOrDefault()` is a handy utility function to query an
-`spv.target_env` attached in the input IR or use the feault to construct a
+`spv.target_env` attached in the input IR or use the default to construct a
`SPIRVConversionTarget`.
### `SPIRVTypeConverter`
diff --git a/mlir/docs/LangRef.md b/mlir/docs/LangRef.md
index d59e552e32c7..a3e5738b49b5 100644
--- a/mlir/docs/LangRef.md
+++ b/mlir/docs/LangRef.md
@@ -902,7 +902,7 @@ memref<16x32xf32, #identity, memspace0>
%T = alloc(%M, %N) [%B1, %B2] : memref<?x?xf32, #tiled_dynamic>
// A memref that has a two-element padding at either end. The allocation size
-// will fit 16 * 68 float elements of data.
+// will fit 16 * 64 float elements of data.
%P = alloc() : memref<16x64xf32, #padded>
// Affine map with symbol 's0' used as offset for the first dimension.
diff --git a/mlir/docs/OpDefinitions.md b/mlir/docs/OpDefinitions.md
index 30406b7e4e83..cc8761eccb15 100644
--- a/mlir/docs/OpDefinitions.md
+++ b/mlir/docs/OpDefinitions.md
@@ -654,7 +654,7 @@ value type is buildable. In those cases, the type of the attribute is elided.
#### Optional Groups
In certain situations operations may have "optional" information, e.g.
-attributes or an empty set of variadic operands. In these situtations a section
+attributes or an empty set of variadic operands. In these situations a section
of the assembly format can be marked as `optional` based on the presence of this
information. An optional group is defined by wrapping a set of elements within
`()` followed by a `?` and has the following requirements:
diff --git a/mlir/docs/RationaleLinalgDialect.md b/mlir/docs/RationaleLinalgDialect.md
index 2c07502a9fb3..0085e1ff7a09 100644
--- a/mlir/docs/RationaleLinalgDialect.md
+++ b/mlir/docs/RationaleLinalgDialect.md
@@ -288,7 +288,7 @@ promotion to deeper levels of the memory hierarchy.
Tensor Comprehensions showed that, fixing a few predefined strategies
with parametric transformations and tuning knobs, can already provide
great results. In that previous work, simple
-genetic search combined with an autotining framework was sufficient
+genetic search combined with an autotuning framework was sufficient
to find good implementations in the ***non-compute bound regime***.
This requires code versions obtainable by the
various transformations to encompass versions that get close to the
@@ -309,7 +309,7 @@ problems than could be solved with a small tactical investment.
- Tensor Comprehensions emitted CUDA code which was then JIT compiled
with NVCC from a textual representation. While this was a pragmatic
short-term solution it made it hard to perform low-level rewrites that
-would have helped with register reuse in the ***comput-bound regime***.
+would have helped with register reuse in the ***compute-bound regime***.
- The same reliance on emitting CUDA code made it
diff icult to
create cost models when time came. This made it artifically harder to
prune out bad solutions than necessary. This resulted in excessive
diff --git a/mlir/include/mlir/Dialect/SPIRV/SPIRVCastOps.td b/mlir/include/mlir/Dialect/SPIRV/SPIRVCastOps.td
index d5bbedb9559d..f3af975ee52e 100644
--- a/mlir/include/mlir/Dialect/SPIRV/SPIRVCastOps.td
+++ b/mlir/include/mlir/Dialect/SPIRV/SPIRVCastOps.td
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
//
// This file contains cast ops for the SPIR-V dialect. It corresponds
-// to "3.32.11. Convertion Instructions" of the SPIR-V specification.
+// to "3.32.11. Conversion Instructions" of the SPIR-V specification.
//
//===----------------------------------------------------------------------===//
More information about the Mlir-commits
mailing list