Skip to content

Commit cd78226

Browse files
authored
Merge pull request #21867 from LucianoPAlmeida/gardening-link-sil-docs
[gardening] Adding some links to SIL files
2 parents 4970946 + ff51f4d commit cd78226

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/SIL.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ representation that can be used for code distribution, but it can also express
2828
target-specific concepts as well as LLVM can.
2929

3030
For more information on developing the implementation of SIL and SIL passes, see
31-
SILProgrammersManual.md.
31+
`SILProgrammersManual.md <SILProgrammersManual.md>`_.
3232

3333
SIL in the Swift Compiler
3434
-------------------------
@@ -122,7 +122,7 @@ IR.
122122
high-level optimizations on basic Swift containers such as Array or String.
123123
Domain specific optimizations require a defined interface between
124124
the standard library and the optimizer. More details can be found here:
125-
:ref:`HighLevelSILOptimizations`
125+
`HighLevelSILOptimizations <HighLevelSILOptimizations.rst>`_
126126

127127
Syntax
128128
------

docs/SILProgrammersManual.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This document provides information for developers working on the
44
implementation of SIL. The formal specification of the Swift
5-
Intermediate _Language_ is in SIL.rst. This is a guide to the internal
5+
Intermediate _Language_ is in [SIL.rst](SIL.rst). This is a guide to the internal
66
implementation. Source comments normally provide this level of
77
information as much as possible. However, some features of the
88
implementation are spread out across the source base. This
@@ -176,6 +176,6 @@ PassManager and its available analyses.
176176

177177
## High Level SIL Optimizations
178178

179-
HighLevelSILOptimizations.rst discusses how the optimizer imbues
179+
[HighLevelSILOptimizations.rst](HighLevelSILOptimizations.rst) discusses how the optimizer imbues
180180
certain special SIL types and SIL functions with higher level
181181
semantics.

0 commit comments

Comments
 (0)