summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2019-07-31 22:14:26 +0000
committerPhilip Reames <listmail@philipreames.com>2019-07-31 22:14:26 +0000
commitc724215a70038c02efa06695719e4a384ba2ace2 (patch)
tree617ec76b810acbe3148d77cafcb81dfd040b602e /llvm/docs
parent005d705d4392d320244cfe9b1d5fdb6d02bdcd68 (diff)
downloadbcm5719-llvm-c724215a70038c02efa06695719e4a384ba2ace2.tar.gz
bcm5719-llvm-c724215a70038c02efa06695719e4a384ba2ace2.zip
Attempt to unbreak sphinx build bot by inserting a link.
llvm-svn: 367487
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LoopTerminology.rst1
-rw-r--r--llvm/docs/WritingAnLLVMPass.rst6
2 files changed, 4 insertions, 3 deletions
diff --git a/llvm/docs/LoopTerminology.rst b/llvm/docs/LoopTerminology.rst
index 7306167de65..e901720e23e 100644
--- a/llvm/docs/LoopTerminology.rst
+++ b/llvm/docs/LoopTerminology.rst
@@ -1,3 +1,4 @@
+.. _loop-terminology:
===========================================
LLVM Loop Terminology (and Canonical Forms)
===========================================
diff --git a/llvm/docs/WritingAnLLVMPass.rst b/llvm/docs/WritingAnLLVMPass.rst
index 386f3d61d0e..ddf045acb74 100644
--- a/llvm/docs/WritingAnLLVMPass.rst
+++ b/llvm/docs/WritingAnLLVMPass.rst
@@ -538,9 +538,9 @@ compiled.
The ``LoopPass`` class
----------------------
-All ``LoopPass`` execute on each loop in the function independent of all of the
-other loops in the function. ``LoopPass`` processes loops in loop nest order
-such that outer most loop is processed last.
+All ``LoopPass`` execute on each :ref:`loop <loop-terminology>` in the function
+independent of all of the other loops in the function. ``LoopPass`` processes
+loops in loop nest order such that outer most loop is processed last.
``LoopPass`` subclasses are allowed to update loop nest using ``LPPassManager``
interface. Implementing a loop pass is usually straightforward.
OpenPOWER on IntegriCloud