[PATCH] D79037: [StructurizeCFG] Fix region nodes ordering

Ehud Katz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 04:18:03 PDT 2020


ekatz updated this revision to Diff 266163.
ekatz added a comment.

This is a second take of the solution, using SCCs instead of LoopInfo.
This algorithm can also handle irreducible loops, and, generally, any kind of cycle in the graph.


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

https://reviews.llvm.org/D79037

Files:
  llvm/lib/Transforms/Scalar/StructurizeCFG.cpp
  llvm/test/Transforms/StructurizeCFG/interleaved-loop-order.ll
  llvm/test/Transforms/StructurizeCFG/nested-loop-subregion.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79037.266163.patch
Type: text/x-patch
Size: 23608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200526/d0cf948f/attachment.bin>


More information about the llvm-commits mailing list