Skip to content

Commit 58265ad

Browse files
committed
[mlir] fix broken links to Glossary
Differential Revision: https://reviews.llvm.org/D72697
1 parent 982a77b commit 58265ad

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

mlir/docs/LangRef.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ high-performance target-specific code.
1313

1414
This document defines and describes the key concepts in MLIR, and is intended to
1515
be a dry reference document - the [rationale documentation](Rationale.md),
16-
[glossary](https://mlir.llvm.org/getting_started/Glossary/), and other content are hosted elsewhere.
16+
[glossary](../getting_started/Glossary.md), and other content are hosted elsewhere.
1717

1818
MLIR is designed to be used in three different forms: a human-readable textual
1919
form suitable for debugging, an in-memory form suitable for programmatic

mlir/docs/Tutorials/Toy/Ch-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ compiler passes - does not include locations in the output by default. The
118118
MLIR is designed to be a completely extensible system, and as such, the
119119
infrastructure has the capability to opaquely represent all of its core
120120
components: attributes, operations, types, etc. This allows MLIR to parse,
121-
represent, and [round-trip](../../Glossary.md#round-trip) any valid IR. For
121+
represent, and [round-trip](../../../getting_started/Glossary.md#round-trip) any valid IR. For
122122
example, we could place our Toy operation from above into an `.mlir` file and
123123
round-trip through *mlir-opt* without registering anything:
124124

mlir/docs/Tutorials/Toy/Ch-5.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ level buffer access, as they are concrete references to a region of memory.
2424
# Dialect Conversions
2525

2626
MLIR has many different dialects, so it is important to have a unified framework
27-
for [converting](../../Glossary.md#conversion) between them. This is where the
27+
for [converting](../../../getting_started/Glossary.md#conversion) between them. This is where the
2828
`DialectConversion` framework comes into play. This framework allows for
2929
transforming a set of `illegal` operations to a set of `legal` ones. To use this
3030
framework, we need to provide two things (and an optional third):
@@ -34,7 +34,7 @@ framework, we need to provide two things (and an optional third):
3434
- This is the formal specification of what operations or dialects are
3535
legal for the conversion. Operations that aren't legal will require
3636
rewrite patterns to perform
37-
[legalization](../../Glossary.md#legalization).
37+
[legalization](../../../getting_started/Glossary.md#legalization).
3838

3939
* A set of
4040
[Rewrite Patterns](../../DialectConversion.md#rewrite-pattern-specification)

mlir/docs/Tutorials/Toy/Ch-6.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ lowered all but one of the `toy` operations, with the last being `toy.print`.
1616
Before going over the conversion to LLVM, let's lower the `toy.print` operation.
1717
We will lower this operation to a non-affine loop nest that invokes `printf` for
1818
each element. Note that, because the dialect conversion framework supports
19-
[transitive lowering](Glossary.md#transitive-lowering), we don't need to
19+
[transitive lowering](../../../getting_started/Glossary.md#transitive-lowering), we don't need to
2020
directly emit operations in the LLVM dialect. By transitive lowering, we mean
2121
that the conversion framework may apply multiple patterns to fully legalize an
2222
operation. In this example, we are generating a structured loop nest instead of
@@ -86,7 +86,7 @@ used for lowering. At this point in the compilation process, we have a
8686
combination of `toy`, `affine`, and `std` operations. Luckily, the `std` and
8787
`affine` dialects already provide the set of patterns needed to transform them
8888
into LLVM dialect. These patterns allow for lowering the IR in multiple stages
89-
by relying on [transitive lowering](Glossary.md#transitive-lowering).
89+
by relying on [transitive lowering](../../../getting_started/Glossary.md#transitive-lowering).
9090
9191
```c++
9292
mlir::OwningRewritePatternList patterns;

0 commit comments

Comments
 (0)