Skip to content

Commit 12ae5cc

Browse files
committed
[Docs] Fix link in LoopTerminology (NFC)
The link should refer to section of 'phi' Instruction in LangRef, but it referred to a subsection of 'fcmp' Instruction. Replace it with appropriate one.
1 parent a413ef8 commit 12ae5cc

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)