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

Ehud Katz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 30 11:07:38 PDT 2020


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

Update algorithm to use a custom `GraphTraits` and a `NodeRef` that holds the set of nodes for the subgraph.
This simplifies the algorithm quite a bit.


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.267465.patch
Type: text/x-patch
Size: 22619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200530/c246fced/attachment.bin>


More information about the llvm-commits mailing list