[PATCH] D65257: Describe resticted form of loops in the new loop terminogy documentation

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 20:45:21 PDT 2019


jdoerfert added inline comments.


================
Comment at: docs/LoopTerminology.rst:148
+  be distinguished by their header block.  There can not exist a nested loop
+  which shares the same header if the loop contains only one backedge.
+
----------------
Loops, assuming "natural loops identified by LoopInfo", can always be identified/distinguished by their header blocks regardless of the backedges. The situation is different for irreducible loops though.

Maybe I misunderstood what you wanted to say. Can you clarify, give an example?


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

https://reviews.llvm.org/D65257





More information about the llvm-commits mailing list