From 29ca03f19a1faf26f30641cb90be29103500883b Mon Sep 17 00:00:00 2001 From: Ryotaro Kasuga Date: Wed, 26 Mar 2025 17:59:38 +0900 Subject: [PATCH] [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. --- llvm/docs/LoopTerminology.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/docs/LoopTerminology.rst b/llvm/docs/LoopTerminology.rst index f15f9e682d7e..6978a9b42161 100644 --- a/llvm/docs/LoopTerminology.rst +++ b/llvm/docs/LoopTerminology.rst @@ -352,7 +352,7 @@ will be deleted by :ref:`-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 `_: +`mentioned in the LangRef `_: "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