[llvm] 29ca03f - [Docs] Fix link in LoopTerminology (NFC) (#131138)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 26 01:59:42 PDT 2025
Author: Ryotaro Kasuga
Date: 2025-03-26T17:59:38+09:00
New Revision: 29ca03f19a1faf26f30641cb90be29103500883b
URL: https://github.com/llvm/llvm-project/commit/29ca03f19a1faf26f30641cb90be29103500883b
DIFF: https://github.com/llvm/llvm-project/commit/29ca03f19a1faf26f30641cb90be29103500883b.diff
LOG: [Docs] Fix link in LoopTerminology (NFC) (#131138)
The link should refer to the section of 'phi' Instruction in the
LangRef, but it referred to the subsection of 'fcmp' Instruction.
Replace it with appropriate one.
Added:
Modified:
llvm/docs/LoopTerminology.rst
Removed:
################################################################################
diff --git a/llvm/docs/LoopTerminology.rst b/llvm/docs/LoopTerminology.rst
index f15f9e682d7e5..6978a9b421613 100644
--- a/llvm/docs/LoopTerminology.rst
+++ b/llvm/docs/LoopTerminology.rst
@@ -352,7 +352,7 @@ will be deleted by :ref:`-instcombine <passes-instcombine>`.
Note that an exit block is outside of a loop, so how can such a phi "close"
the value inside the loop since it uses it outside of it ? First of all,
for phi nodes, as
-`mentioned in the LangRef <https://llvm.org/docs/LangRef.html#id311>`_:
+`mentioned in the LangRef <https://llvm.org/docs/LangRef.html#phi-instruction>`_:
"the use of each incoming value is deemed to occur on the edge from the
corresponding predecessor block to the current block". Now, an
edge to an exit block is considered outside of the loop because
More information about the llvm-commits
mailing list