diff --git a/mlir/docs/DeclarativeRewrites.md b/mlir/docs/DeclarativeRewrites.md --- a/mlir/docs/DeclarativeRewrites.md +++ b/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 diff --git a/mlir/docs/DefiningAttributesAndTypes.md b/mlir/docs/DefiningAttributesAndTypes.md --- a/mlir/docs/DefiningAttributesAndTypes.md +++ b/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. diff --git a/mlir/docs/LangRef.md b/mlir/docs/LangRef.md --- a/mlir/docs/LangRef.md +++ b/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 diff --git a/mlir/docs/OpDefinitions.md b/mlir/docs/OpDefinitions.md --- a/mlir/docs/OpDefinitions.md +++ b/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]: ../include/mlir/IR/OpBase.td +[OpDefinitionsGen]: ../tools/mlir-tblgen/OpDefinitionsGen.cpp +[EnumsGen]: ../tools/mlir-tblgen/EnumsGen.cpp +[StringAttr]: LangRef.md#string-attribute +[IntegerAttr]: LangRef.md#integer-attribute