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