[PATCH] D72065: [mlir] NFC: Fix broken links in docs

Kazuaki Ishizaki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 1 21:02:42 PST 2020


kiszk created this revision.
Herald added subscribers: llvm-commits, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.
kiszk retitled this revision from "[mlir] NFC: Fix broken links" to "[mlir] NFC: Fix broken links in docs".

This commit fixes missing links that are caused by the repository movement.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72065

Files:
  mlir/docs/DeclarativeRewrites.md
  mlir/docs/DefiningAttributesAndTypes.md
  mlir/docs/LangRef.md
  mlir/docs/OpDefinitions.md


Index: mlir/docs/OpDefinitions.md
===================================================================
--- mlir/docs/OpDefinitions.md
+++ mlir/docs/OpDefinitions.md
@@ -1203,8 +1203,8 @@
 [TableGenIntro]: https://llvm.org/docs/TableGen/LangIntro.html
 [TableGenRef]: https://llvm.org/docs/TableGen/LangRef.html
 [TableGenBackend]: https://llvm.org/docs/TableGen/BackEnds.html#introduction
-[OpBase]: https://github.com/tensorflow/mlir/blob/master/include/mlir/IR/OpBase.td
-[OpDefinitionsGen]: https://github.com/tensorflow/mlir/blob/master/tools/mlir-tblgen/OpDefinitionsGen.cpp
-[EnumsGen]: https://github.com/tensorflow/mlir/blob/master/tools/mlir-tblgen/EnumsGen.cpp
-[StringAttr]: https://github.com/tensorflow/mlir/blob/master/g3doc/LangRef.md#string-attribute
-[IntegerAttr]: https://github.com/tensorflow/mlir/blob/master/g3doc/LangRef.md#integer-attribute
+[OpBase]: https://github.com/llvm/llvm-project/blob/master/mlir/include/mlir/IR/OpBase.td
+[OpDefinitionsGen]: https://github.com/llvm/llvm-project/blob/master/mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
+[EnumsGen]: https://github.com/llvm/llvm-project/blob/master/mlir/tools/mlir-tblgen/EnumsGen.cpp
+[StringAttr]: https://github.com/llvm/llvm-project/blob/master/mlir/docs/LangRef.md#string-attribute
+[IntegerAttr]: https://github.com/llvm/llvm-project/blob/master/mlir/docs/LangRef.md#integer-attribute
Index: mlir/docs/LangRef.md
===================================================================
--- mlir/docs/LangRef.md
+++ mlir/docs/LangRef.md
@@ -13,7 +13,7 @@
 
 This document defines and describes the key concepts in MLIR, and is intended to
 be a dry reference document - the [rationale documentation](Rationale.md),
-[glossary](Glossary.md), and other content are hosted elsewhere.
+[glossary](https://mlir.llvm.org/getting_started/Glossary/), and other content are hosted elsewhere.
 
 MLIR is designed to be used in three different forms: a human-readable textual
 form suitable for debugging, an in-memory form suitable for programmatic
@@ -1455,7 +1455,7 @@
 attribute dictionary), i.e. no other attribute kinds such as Locations or
 extended attribute kinds. If a reference to a symbol is necessary from outside
 of the symbol table that the symbol is defined in, a
-[string attribute](string-attribute) can be used to refer to the symbol name.
+[string attribute](#string-attribute) can be used to refer to the symbol name.
 
 **Rationale:** Given that MLIR models global accesses with symbol references, to
 enable efficient multi-threading, it becomes difficult to effectively reason
Index: mlir/docs/DefiningAttributesAndTypes.md
===================================================================
--- mlir/docs/DefiningAttributesAndTypes.md
+++ mlir/docs/DefiningAttributesAndTypes.md
@@ -24,7 +24,7 @@
 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
-[DialectSymbolRegistry](https://github.com/tensorflow/mlir/blob/master/include/mlir/IR/DialectSymbolRegistry.def).
+[DialectSymbolRegistry](https://github.com/llvm/llvm-project/blob/master/mlir/include/mlir/IR/DialectSymbolRegistry.def).
 To support out-of-tree and experimental dialects, the registry predefines a set
 of privates ranges, `PRIVATE_EXPERIMENTAL_[0-9]`, that are free for immediate
 use.
Index: mlir/docs/DeclarativeRewrites.md
===================================================================
--- mlir/docs/DeclarativeRewrites.md
+++ mlir/docs/DeclarativeRewrites.md
@@ -687,4 +687,4 @@
 details.
 
 [TableGen]: https://llvm.org/docs/TableGen/index.html
-[OpBase]: https://github.com/tensorflow/mlir/blob/master/include/mlir/IR/OpBase.td
+[OpBase]: https://github.com/llvm/llvm-project/blob/master/mlir/include/mlir/IR/OpBase.td


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72065.235821.patch
Type: text/x-patch
Size: 3815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200102/34ea618a/attachment.bin>


More information about the llvm-commits mailing list