[Mlir-commits] [mlir] 42154ea - Fix broken doc links (Rationale.md -> Rationale/Rationale.md)
Mehdi Amini
llvmlistbot at llvm.org
Sat Apr 18 21:42:36 PDT 2020
Author: Mehdi Amini
Date: 2020-04-19T04:42:08Z
New Revision: 42154ea105610ef22310f6dcee5f71f76b2dcc3e
URL: https://github.com/llvm/llvm-project/commit/42154ea105610ef22310f6dcee5f71f76b2dcc3e
DIFF: https://github.com/llvm/llvm-project/commit/42154ea105610ef22310f6dcee5f71f76b2dcc3e.diff
LOG: Fix broken doc links (Rationale.md -> Rationale/Rationale.md)
Added:
Modified:
mlir/docs/LangRef.md
mlir/docs/Tutorials/DefiningAttributesAndTypes.md
mlir/docs/Tutorials/Toy/Ch-7.md
Removed:
################################################################################
diff --git a/mlir/docs/LangRef.md b/mlir/docs/LangRef.md
index f7e133a2820e..4b00869697c8 100644
--- a/mlir/docs/LangRef.md
+++ b/mlir/docs/LangRef.md
@@ -12,7 +12,7 @@ continuous design provides a framework to lower from dataflow graphs to
high-performance target-specific code.
This document defines and describes the key concepts in MLIR, and is intended to
-be a dry reference document - the [rationale documentation](Rationale.md),
+be a dry reference document - the [rationale documentation](Rationale/Rationale.md),
[glossary](../getting_started/Glossary.md), and other content are hosted elsewhere.
MLIR is designed to be used in three
diff erent forms: a human-readable textual
@@ -432,7 +432,7 @@ cases from the IR compared to traditional "PHI nodes are operations" SSA IRs
[parallel copy semantics](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.524.5461&rep=rep1&type=pdf)
of SSA is immediately apparent, and function arguments are no longer a special
case: they become arguments to the entry block
-[[more rationale](Rationale.md#block-arguments-vs-phi-nodes)].
+[[more rationale](Rationale/Rationale.md#block-arguments-vs-phi-nodes)].
## Regions
@@ -731,10 +731,10 @@ index-type ::= `index`
```
The `index` type is a signless integer whose size is equal to the natural
-machine word of the target ([rationale](Rationale.md#signless-types)) and is
+machine word of the target ([rationale](Rationale/Rationale.md#signless-types)) and is
used by the affine constructs in MLIR. Unlike fixed-size integers, it cannot be
used as an element of vector, tensor or memref type
-([rationale](Rationale.md#index-type-disallowed-in-vectortensormemref-types)).
+([rationale](Rationale/Rationale.md#index-type-disallowed-in-vectortensormemref-types)).
**Rationale:** integers of platform-specific bit widths are practical to express
sizes, dimensionalities and subscripts.
@@ -762,7 +762,7 @@ hardware synthesis (where a 13 bit multiplier is a lot cheaper/smaller than a 16
bit one).
TODO: Need to decide on a representation for quantized integers
-([initial thoughts](Rationale.md#quantized-integer-operations)).
+([initial thoughts](Rationale/Rationale.md#quantized-integer-operations)).
#### Memref Type
@@ -1109,7 +1109,7 @@ each element may be of a
diff erent type.
**Rationale:** Though this type is first class in the type system, MLIR provides
no standard operations for operating on `tuple` types
-([rationale](Rationale.md#tuple-types)).
+([rationale](Rationale/Rationale.md#tuple-types)).
Examples:
diff --git a/mlir/docs/Tutorials/DefiningAttributesAndTypes.md b/mlir/docs/Tutorials/DefiningAttributesAndTypes.md
index 1c01caf71cb0..b3597f48e659 100644
--- a/mlir/docs/Tutorials/DefiningAttributesAndTypes.md
+++ b/mlir/docs/Tutorials/DefiningAttributesAndTypes.md
@@ -20,7 +20,7 @@ instance of an `MLIRContext`.
Types in MLIR rely on having a unique `kind` value to ensure that casting checks
remain extremely
-efficient ([rationale](Rationale.md#reserving-dialect-type-kinds)). For a dialect
+efficient ([rationale](../Rationale/Rationale.md#reserving-dialect-type-kinds)). For a dialect
author, this means that a range of type `kind` values must be explicitly, and
statically, reserved. A dialect can reserve a range of values by adding a new
entry to the
diff --git a/mlir/docs/Tutorials/Toy/Ch-7.md b/mlir/docs/Tutorials/Toy/Ch-7.md
index 92f9d7b91deb..ce7f57e04d88 100644
--- a/mlir/docs/Tutorials/Toy/Ch-7.md
+++ b/mlir/docs/Tutorials/Toy/Ch-7.md
@@ -64,7 +64,7 @@ representation.
Types in MLIR rely on having a unique `kind` value to ensure that casting checks
remain extremely efficient
-([rationale](../../Rationale.md#reserving-dialect-type-kinds)). For `toy`, this
+([rationale](../../Rationale/Rationale.md#reserving-dialect-type-kinds)). For `toy`, this
means we need to explicitly reserve a static range of type `kind` values in the
symbol registry file
[DialectSymbolRegistry](https://github.com/llvm/llvm-project/blob/master/mlir/include/mlir/IR/DialectSymbolRegistry.def).
More information about the Mlir-commits
mailing list