[PATCH] D130891: [Docs] Improve cycle and closed path definitions

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 03:31:18 PDT 2022


foad added inline comments.


================
Comment at: llvm/docs/CycleTerminology.rst:28
+   with respect to this particular DFS. The header is always an entry node.
+4. In any depth-first search starting from the entry, the set of cycles
+   found in the CFG is the same. These are the *top-level cycles*
----------------
Would it make sense to swap 3 and 4, so you can define the "top-level cycles" without even mentioning DFS?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130891/new/

https://reviews.llvm.org/D130891



More information about the llvm-commits mailing list