Skip to content

Commit 29ca03f

Browse files
authored
[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.
1 parent 894b27a commit 29ca03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/docs/LoopTerminology.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ will be deleted by :ref:`-instcombine <passes-instcombine>`.
352352
Note that an exit block is outside of a loop, so how can such a phi "close"
353353
the value inside the loop since it uses it outside of it ? First of all,
354354
for phi nodes, as
355-
`mentioned in the LangRef <https://llvm.org/docs/LangRef.html#id311>`_:
355+
`mentioned in the LangRef <https://llvm.org/docs/LangRef.html#phi-instruction>`_:
356356
"the use of each incoming value is deemed to occur on the edge from the
357357
corresponding predecessor block to the current block". Now, an
358358
edge to an exit block is considered outside of the loop because

0 commit comments

Comments
 (0)