[docs] Reword documentation in terms of SCCs not cycles
authorPhilip Reames <listmail@philipreames.com>
Wed, 31 Jul 2019 16:24:20 +0000 (16:24 +0000)
committerPhilip Reames <listmail@philipreames.com>
Wed, 31 Jul 2019 16:24:20 +0000 (16:24 +0000)
commitf3b752365e69cfb786c28a51f7885b574cbc5cc7
tree6f3e693da16c4467eb1ac618331debd9dd4b2c9e
parent8d76284599c4bc995c037b524b107ee0e902dcdb
[docs] Reword documentation in terms of SCCs not cycles

Given the example:
header:
  br i1 %c, label %next, label %header
next:
  br i1 %c2, label %exit, label %header

We end up with a loop containing both header and next.  Given that, the describing the loop in terms of cycles is confusing since we have multiple distinct cycles within a single Loop.  Standardize on the SCC to clarify.

Differential Revision: https://reviews.llvm.org/D65299

llvm-svn: 367440
llvm/docs/LoopTerminology.rst